Revision eb985085
Added by Leszek Koltunski about 2 years ago
src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
---|---|---|
277 | 277 |
final RubikObject rObject = RubikObjectList.getObject(object); |
278 | 278 |
int row = object/NUM_COLUMNS; |
279 | 279 |
ImageButton button = new ImageButton(act); |
280 |
if( rObject!=null ) rObject.setIconTo(button); |
|
280 |
if( rObject!=null ) rObject.setIconTo(act,button);
|
|
281 | 281 |
|
282 | 282 |
button.setOnClickListener( new View.OnClickListener() |
283 | 283 |
{ |
Also available in: Unified diff
Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.