From fcd8f7c8a5ad64a0b11756875910cd58b6f1d5da Mon Sep 17 00:00:00 2001 From: Kevin Whitaker Date: Tue, 24 Nov 2015 21:58:46 -0500 Subject: [PATCH] Use new custom modified RRV lib until pull request is complete. Use dynamic columns instead of hard coded ones. --- app/build.gradle | 4 ++- .../main/res/layout-land/fragment_albums.xml | 10 ------- .../main/res/layout-land/fragment_artist.xml | 26 ------------------- app/src/main/res/layout/fragment_albums.xml | 2 +- app/src/main/res/layout/fragment_artist.xml | 2 +- build.gradle | 3 +++ 6 files changed, 8 insertions(+), 39 deletions(-) delete mode 100644 app/src/main/res/layout-land/fragment_albums.xml delete mode 100644 app/src/main/res/layout-land/fragment_artist.xml diff --git a/app/build.gradle b/app/build.gradle index bcfa6ed..1aebcd0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,7 +27,9 @@ dependencies { compile 'com.heinrichreimersoftware:material-drawer:2.2.0' //Apache 2.0 compile 'io.realm:realm-android:0.85.0' //Apache 2.0 + RCBL compile 'com.squareup.picasso:picasso:2.5.2' //Apache 2.0 - compile 'com.github.thorbenprimke:realm-recyclerview:0.9.5' //Apache 2.0 + //compile 'com.github.thorbenprimke:realm-recyclerview:0.9.5' //Apache 2.0 + compile (name:'realmrecyclerview-debug',ext:'aar') + compile 'com.github.TonicArtos:SuperSLiM:ed0ba4b4d2' compile 'com.squareup.retrofit:retrofit:2.0.0-beta2' //Apache 2.0 compile ('com.thoughtworks.xstream:xstream:1.4.7') { //BSD exclude group: 'xmlpull' diff --git a/app/src/main/res/layout-land/fragment_albums.xml b/app/src/main/res/layout-land/fragment_albums.xml deleted file mode 100644 index 7e1c87d..0000000 --- a/app/src/main/res/layout-land/fragment_albums.xml +++ /dev/null @@ -1,10 +0,0 @@ - - \ No newline at end of file diff --git a/app/src/main/res/layout-land/fragment_artist.xml b/app/src/main/res/layout-land/fragment_artist.xml deleted file mode 100644 index da7dbc7..0000000 --- a/app/src/main/res/layout-land/fragment_artist.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_albums.xml b/app/src/main/res/layout/fragment_albums.xml index 54a1d32..e6fb3d4 100644 --- a/app/src/main/res/layout/fragment_albums.xml +++ b/app/src/main/res/layout/fragment_albums.xml @@ -6,5 +6,5 @@ android:id="@+id/album_grid" app:rrvLayoutType="Grid" app:rrvIsRefreshable="true" - app:rrvGridLayoutSpanCount="2" + app:rrvGridLayoutItemWidth="180dp" xmlns:android="http://schemas.android.com/apk/res/android" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_artist.xml b/app/src/main/res/layout/fragment_artist.xml index 200cb74..fad8210 100644 --- a/app/src/main/res/layout/fragment_artist.xml +++ b/app/src/main/res/layout/fragment_artist.xml @@ -22,5 +22,5 @@ android:id="@+id/artist_albums" app:rrvLayoutType="Grid" app:rrvIsRefreshable="false" - app:rrvGridLayoutSpanCount="2"/> + app:rrvGridLayoutItemWidth="180dp"/> \ No newline at end of file diff --git a/build.gradle b/build.gradle index 69597e5..b002b03 100644 --- a/build.gradle +++ b/build.gradle @@ -16,6 +16,9 @@ allprojects { repositories { jcenter() maven { url "https://jitpack.io" } + flatDir { + dirs 'libs' + } } } -- GitLab