Search in sources :

Example 6 with Response

use of com.amitshekhar.model.Response in project Android-Debug-Database by amitshekhariitbhu.

the class PrefHelper method getAllPrefTableName.

public static Response getAllPrefTableName(Context context) {
    Response response = new Response();
    List<String> prefTags = getSharedPreferenceTags(context);
    for (String tag : prefTags) {
        response.rows.add(tag);
    }
    response.isSuccessful = true;
    return response;
}
Also used : Response(com.amitshekhar.model.Response) UpdateRowResponse(com.amitshekhar.model.UpdateRowResponse) TableDataResponse(com.amitshekhar.model.TableDataResponse)

Aggregations

Response (com.amitshekhar.model.Response)6 TableDataResponse (com.amitshekhar.model.TableDataResponse)6 UpdateRowResponse (com.amitshekhar.model.UpdateRowResponse)6 Cursor (android.database.Cursor)2 SupportSQLiteDatabase (android.arch.persistence.db.SupportSQLiteDatabase)1 Pair (android.util.Pair)1 IOException (java.io.IOException)1 HashMap (java.util.HashMap)1