Project

General

Profile

« Previous | Next » 

Revision eb985085

Added by Leszek Koltunski about 2 years ago

Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogScores.java
116 116
      {
117 117
      RubikObject robject = RubikObjectList.getObject(object);
118 118
      ImageView imageView = new ImageView(act);
119
      if( robject!=null ) robject.setIconTo(imageView);
119
      if( robject!=null ) robject.setIconTo(act,imageView);
120 120
      imageView.setLayoutParams(paramsView);
121 121
      TabLayout.Tab tab = tabLayout.getTabAt(object);
122 122
      if(tab!=null) tab.setCustomView(imageView);

Also available in: Unified diff