Revision eb985085
Added by Leszek Koltunski about 2 years ago
src/main/java/org/distorted/dialogs/RubikDialogTutorial.java | ||
---|---|---|
103 | 103 |
RubikObject object = RubikObjectList.getObject(i); |
104 | 104 |
ImageView imageView = new ImageView(act); |
105 | 105 |
imageView.setLayoutParams(paramsView); |
106 |
if( object!=null ) object.setIconTo(imageView); |
|
106 |
if( object!=null ) object.setIconTo(act,imageView);
|
|
107 | 107 |
TabLayout.Tab tab = tabLayout.getTabAt(i); |
108 | 108 |
if(tab!=null) tab.setCustomView(imageView); |
109 | 109 |
} |
Also available in: Unified diff
Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.