RecyclerView

This commit is contained in:
Karim Abou Zeid 2015-03-12 21:18:30 +01:00
commit 02e15fa739
25 changed files with 305 additions and 430 deletions

View file

@ -45,14 +45,6 @@ public class App extends Application {
PreferenceManager.getDefaultSharedPreferences(this).edit().putInt(AppKeys.SP_THEME, appTheme).apply();
}
public boolean isTablet() {
return getResources().getConfiguration().smallestScreenWidthDp >= 600;
}
public boolean isInPortraitMode() {
return getResources().getConfiguration().orientation == Configuration.ORIENTATION_PORTRAIT;
}
public void addToVolleyRequestQueue(Request request) {
request.setTag(TAG);
getVolleyRequestQueue().add(request);