Use new custom modified RRV lib until pull request is complete. Use dynamic columns instead of hard coded ones.
This commit is contained in:
@@ -27,7 +27,9 @@ dependencies {
|
|||||||
compile 'com.heinrichreimersoftware:material-drawer:2.2.0' //Apache 2.0
|
compile 'com.heinrichreimersoftware:material-drawer:2.2.0' //Apache 2.0
|
||||||
compile 'io.realm:realm-android:0.85.0' //Apache 2.0 + RCBL
|
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.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.squareup.retrofit:retrofit:2.0.0-beta2' //Apache 2.0
|
||||||
compile ('com.thoughtworks.xstream:xstream:1.4.7') { //BSD
|
compile ('com.thoughtworks.xstream:xstream:1.4.7') { //BSD
|
||||||
exclude group: 'xmlpull'
|
exclude group: 'xmlpull'
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<co.moonmonkeylabs.realmrecyclerview.RealmRecyclerView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:id="@+id/album_grid"
|
|
||||||
app:rrvLayoutType="Grid"
|
|
||||||
app:rrvIsRefreshable="true"
|
|
||||||
app:rrvGridLayoutSpanCount="3"
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:orientation="vertical" android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent">
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_margin="10dp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:textSize="20sp"
|
|
||||||
android:transitionName="artist_name"
|
|
||||||
android:id="@+id/artist_name"/>
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_margin="10dp"
|
|
||||||
android:id="@+id/artist_description"/>
|
|
||||||
<co.moonmonkeylabs.realmrecyclerview.RealmRecyclerView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:id="@+id/artist_albums"
|
|
||||||
app:rrvLayoutType="Grid"
|
|
||||||
app:rrvIsRefreshable="false"
|
|
||||||
app:rrvGridLayoutSpanCount="3"/>
|
|
||||||
</LinearLayout>
|
|
||||||
@@ -6,5 +6,5 @@
|
|||||||
android:id="@+id/album_grid"
|
android:id="@+id/album_grid"
|
||||||
app:rrvLayoutType="Grid"
|
app:rrvLayoutType="Grid"
|
||||||
app:rrvIsRefreshable="true"
|
app:rrvIsRefreshable="true"
|
||||||
app:rrvGridLayoutSpanCount="2"
|
app:rrvGridLayoutItemWidth="180dp"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android" />
|
xmlns:android="http://schemas.android.com/apk/res/android" />
|
||||||
@@ -22,5 +22,5 @@
|
|||||||
android:id="@+id/artist_albums"
|
android:id="@+id/artist_albums"
|
||||||
app:rrvLayoutType="Grid"
|
app:rrvLayoutType="Grid"
|
||||||
app:rrvIsRefreshable="false"
|
app:rrvIsRefreshable="false"
|
||||||
app:rrvGridLayoutSpanCount="2"/>
|
app:rrvGridLayoutItemWidth="180dp"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -16,6 +16,9 @@ allprojects {
|
|||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
maven { url "https://jitpack.io" }
|
maven { url "https://jitpack.io" }
|
||||||
|
flatDir {
|
||||||
|
dirs 'libs'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user