Revision bae9a515
Added by Leszek Koltunski about 2 years ago
| src/main/java/org/distorted/dialogs/RubikDialogScoresThread.java | ||
|---|---|---|
| 159 | 159 |
int[] time = load.time; |
| 160 | 160 |
String title = level==numLevels ? act.getString(R.string.levelM) : act.getString(R.string.lv_placeholder, level+1); |
| 161 | 161 |
|
| 162 |
final LinearLayout section = view.createSection(act, tab, title, level, country, name, time); |
|
| 163 |
|
|
| 164 |
act.runOnUiThread(new Runnable() |
|
| 162 |
if( view!=null ) |
|
| 165 | 163 |
{
|
| 166 |
@Override |
|
| 167 |
public void run() |
|
| 164 |
final LinearLayout section = view.createSection(act, tab, title, level, country, name, time); |
|
| 165 |
|
|
| 166 |
act.runOnUiThread(new Runnable() |
|
| 168 | 167 |
{
|
| 169 |
view.addSection(act,section); |
|
| 170 |
} |
|
| 171 |
}); |
|
| 168 |
@Override |
|
| 169 |
public void run() |
|
| 170 |
{
|
|
| 171 |
view.addSection(act, section); |
|
| 172 |
} |
|
| 173 |
}); |
|
| 174 |
} |
|
| 172 | 175 |
} |
| 173 | 176 |
} |
Also available in: Unified diff
bugfix