I have adding "pulltorefresh" library using this site https://github.com/johannilsson/android-pulltorefresh/tree/master/pulltorefresh working perfectly. But when first time there is no date in listview using below component(No data) and pull the view but no refresh start(i know there is no data).How to handle this sitution if no data in list.
<com.markupartist.android.widget.PullToRefreshListView
android:id="@+id/pullview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:cacheColorHint="@android:color/transparent"
android:divider="#19000000"
android:dividerHeight="1dp"
android:fadingEdge="none"
android:fastScrollEnabled="false"
android:footerDividersEnabled="false"
android:headerDividersEnabled="false"
android:smoothScrollbar="true" />
How to blank view and pulltorefresh start when user swipe top to bottom?
How to perform pullto refresh view automatically (Without tap)any method exists in this library?