Revision 05c044a5
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/dialogs/RubikDialogTutorialView.java | ||
---|---|---|
73 | 73 |
reader.parseJsonTutorial(jsonStream); |
74 | 74 |
tutorials = reader.getTutorials(); |
75 | 75 |
} |
76 |
catch(Exception ex) |
|
77 |
{ |
|
78 |
tutorials = null; |
|
79 |
} |
|
76 |
catch(Exception ignored) { } |
|
80 | 77 |
} |
81 | 78 |
|
82 | 79 |
if( tutorials!=null ) |
... | ... | |
151 | 148 |
}); |
152 | 149 |
|
153 | 150 |
ImageView image = row.findViewById(R.id.tutorialCountry); |
154 |
int id = countryID!=0 ? countryID : R.drawable.un;
|
|
151 |
int id = countryID!=0 ? countryID : org.distorted.flags.R.drawable.unknown;
|
|
155 | 152 |
image.setImageResource(id); |
156 | 153 |
|
157 | 154 |
TextView author = row.findViewById(R.id.tutorialAuthor); |
Also available in: Unified diff
Reinstall the latest Android Studio, latest gradle; reconfigure all project to match and compile.