Project

General

Profile

« Previous | Next » 

Revision 526a5906

Added by Leszek Koltunski about 2 years ago

Restore the list of objects before resotoring the list of records; otherwise we cannot restore records of downloaded objects.

View differences:

src/main/java/org/distorted/objects/RubikObjectList.java
283 283

  
284 284
  public static void restorePreferences(SharedPreferences preferences)
285 285
    {
286
    if( mThis==null ) mThis = new RubikObjectList();
287

  
286 288
    String downloaded = preferences.getString("rol_downloaded","");
287 289

  
288 290
    if( SHOW_DOWNLOADED_DEBUG ) android.util.Log.e("D", downloaded);

Also available in: Unified diff