Revision eb985085
Added by Leszek Koltunski about 2 years ago
src/main/java/org/distorted/config/ConfigScreen.java | ||
---|---|---|
99 | 99 |
RubikObject rObject = RubikObjectList.getObject(ordinal); |
100 | 100 |
int row = object/NUM_COLUMNS; |
101 | 101 |
ImageButton button = new ImageButton(act); |
102 |
if( rObject!=null ) rObject.setIconTo(button); |
|
102 |
if( rObject!=null ) rObject.setIconTo(act,button);
|
|
103 | 103 |
|
104 | 104 |
button.setOnClickListener( new View.OnClickListener() |
105 | 105 |
{ |
Also available in: Unified diff
Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.