Open girishnair12345 opened 9 years ago
I tested several times with no items, but the issue has never happened to me. It may be helpful if you let me know an android version and a device model where the issue happens.
Hi ,
I have downloaded a fresh copy under LauncherActivity -> Under PullToRefreshListActivity
I have changed the String array from
private String[] mStrings = { "Abbaye de Belloc", "Abbaye du Mont des Cats", "Abertam", "Abondance", "Ackawi", "Acorn", "Adelost", "Affidelice au Chablis", "Afuega'l Pitu", "Airag", "Airedale", "Aisy Cendre", "Allgauer Emmentaler", "Abbaye de Belloc", "Abbaye du Mont des Cats", "Abertam", "Abondance", "Ackawi", "Acorn", "Adelost", "Affidelice au Chablis", "Afuega'l Pitu", "Airag", "Airedale", "Aisy Cendre", "Allgauer Emmentaler" };
to private String[] mStrings = { };
Now you can run it and pull down the PullToRefresh and you can see the loading screen, now pull it again(before new item is added on screen) and you can see PullToRefresh Loader goes off the screen
This issue occurs in all devices including emulator
If your not able to replicate the issue I will provide you with a screen recording and source code for the same
Thanks & Regards Girish Nair
On Mon, Dec 29, 2014 at 12:07 PM, Wonjun Kim notifications@github.com wrote:
I tested several times with no items, but the issue has never happened to me. It may be helpful if you let me know an android version and a device model where the issue happens.
— Reply to this email directly or view it on GitHub https://github.com/naver/android-pull-to-refresh/issues/35#issuecomment-68235496 .
Hello, Thanks for your guide(But I already tested like the guide before.) It has still not occurred. Can you please give some recorded stuff and let me know the pull-to-refresh library's version you are using? Thank you.
In you code if you pull an empty listview it shows that its Loading More items, now if I pull it again it goes off the screen
So in your example of LauncherActivity, goto PullToRefreshListActivity.java file and under you declaration of private String[] mStrings = { "Abb .... er"} remove all elements and so that mStrings has size 0 and now when you pull the listview twice you will see the Loading More goes of the screen on the second pull