android-pulltorefresh icon indicating copy to clipboard operation
android-pulltorefresh copied to clipboard

first into listview tap screen found a bug?

Open crossle opened this issue 12 years ago • 3 comments

I use pulltorefresh on the listview, when the first into listview, I load data, not pull to refresh.., at this time , I touch the listview, the header TAP_TO_REFRESH Inexplicably appear? but,if into the listview the first ,I pull to refresh. and touch screen .the problem is not exist.... can you help me?

crossle avatar May 31 '12 04:05 crossle

How do I manually call onRefresh?

crossle avatar Jun 02 '12 05:06 crossle

no, it,s maybe caused by call adapter.notifyDataSetChanged(); u can call setSelection(1) to sovle it. u can use like function setSecondPositionVisible in http://code.google.com/p/trinea-android-common/source/browse/trunk/src/com/trinea/common/view/DropDownToRefreshListView.java

Trinea avatar Jun 19 '12 07:06 Trinea

I have used setSelection(1) ,but failed!

crossle avatar Jun 27 '12 06:06 crossle