Private
Public Access
1
0

Use new custom modified RRV lib until pull request is complete. Use dynamic columns instead of hard coded ones.

This commit is contained in:
Kevin Whitaker
2015-11-24 21:58:46 -05:00
parent 24f798e2b2
commit fcd8f7c8a5
6 changed files with 8 additions and 39 deletions

View File

@@ -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'

View File

@@ -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" />

View File

@@ -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>

View File

@@ -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" />

View File

@@ -22,5 +22,5 @@
android:id="@+id/artist_albums"
app:rrvLayoutType="Grid"
app:rrvIsRefreshable="false"
app:rrvGridLayoutSpanCount="2"/>
app:rrvGridLayoutItemWidth="180dp"/>
</LinearLayout>

View File

@@ -16,6 +16,9 @@ allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
flatDir {
dirs 'libs'
}
}
}