0
Although it is something generic, to try to clarify my doubt, I will give an example.
For example, I have a HashMap<Integer, Piece> with size 64, in which Integer would position and Piece, class for a board piece. And I have a layout with 64 ImageView(8x8 square), wanting to relate this, ie each ImageView is a Piece and its position a Integer?
How this association is made between Views and classes?