Project

General

Profile

« Previous | Next » 

Revision 318c0a7d

Added by Leszek Koltunski over 2 years ago

Reename ObjectList to a more logical ObjectType.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogTutorialView.java
35 35

  
36 36
import com.google.firebase.analytics.FirebaseAnalytics;
37 37

  
38
import org.distorted.objectlib.main.ObjectList;
38
import org.distorted.objectlib.main.ObjectType;
39 39

  
40 40
import org.distorted.main.BuildConfig;
41 41
import org.distorted.main.R;
......
76 76
    String packageName = act.getPackageName();
77 77

  
78 78
    TutorialList list  = TutorialList.getObject(position);
79
    ObjectList objList = list.getObjectList();
79
    ObjectType objList = list.getObjectList();
80 80

  
81 81
    View tab = inflate( act, R.layout.dialog_tutorial_tab, null);
82 82
    LinearLayout layout = tab.findViewById(R.id.tabLayout);
......
109 109
///////////////////////////////////////////////////////////////////////////////////////////////////
110 110

  
111 111
  private View createRow(final RubikActivity act, int countryID, final String desc, final String url,
112
                         final String auth, int width, final ObjectList obj)
112
                         final String auth, int width, final ObjectType obj)
113 113
    {
114 114
    View row = inflate( act, R.layout.dialog_tutorial_row, null);
115 115
    Button butt = row.findViewById(R.id.tutorialButton);
......
149 149

  
150 150
///////////////////////////////////////////////////////////////////////////////////////////////////
151 151

  
152
  private void analyticsReport(RubikActivity act, String desc, String author, ObjectList obj)
152
  private void analyticsReport(RubikActivity act, String desc, String author, ObjectType obj)
153 153
    {
154 154
    String message = desc+" ("+author+")";
155 155

  

Also available in: Unified diff