I would like to break my app down into more java classes but not sure how to do this.
In my main class ( imgGameBoard[x] ) "is a large array of Image View's"
GameBoardClass.imgGameBoard[x].setImageDrawable(getResources().getDrawable(R.dra wable.cat_picture));
I would like to use this in my other java classes but don't know how
something like this
ImageView img[];
for (int x = 0; x < GameBoardClass.imgGameBoard.length; x++){
img[x]= GameBoardClass.imgGameBoard[x];
}
img[x].setImageDrawable(getResources().getDrawable(R.dra wable.cat_picture));
any basic example of this working would be great