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