I am working on a social networking application in android where I used QuiltViewLibrary to create a QuiltView image gallery.
In the same application, I used the HANDMARKS Pull to Refresh library for the GridView.
Both work fine. Now I need to implement both libraries for the combined task, i.e. PULL TO REFRESH in QuiltView GALLERY.
The problem I get is to combine XML as LIBRARIES, which are completely different.
XML for PullToRefresh with a simple GRID scan:
<com.handmark.pulltorefresh.library.PullToRefreshGridView
xmlns:ptr="http://schemas.android.com/apk/res-auto"
android:id="@+id/pull_refresh_grid"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:numColumns="auto_fit"
android:verticalSpacing="1dp"
android:horizontalSpacing="1dp"
android:columnWidth="100dp"
android:stretchMode="columnWidth"
android:gravity="fill"
ptr:ptrMode="both"
ptr:ptrDrawable="@drawable/ic_launcher" />
</LinearLayout>
XML for the QuiltView Gallery:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:quilt="http://schemas.android.com/apk/res/com.tv.photos"
android:id="@+id/FrameLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/white" >
<com.tv.photos.QuiltView
android:id="@+id/quilt"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="5dip" >
</com.tv.photos.QuiltView>
</FrameLayout>
Please let me know if anyone can offer me something.