XListView-Android icon indicating copy to clipboard operation
XListView-Android copied to clipboard

Load-more fails when items are too few to fill up list view

Open Brandon-Lin opened this issue 11 years ago • 2 comments

Load-more fails when it only has one item. In this case, footer only becomes higher. I have a workaround for this. Please check this branch.

https://github.com/Brandon-Lin/XListView-Android/commit/afa64b4a3315a2dad812633d1fa64c9b9e204f7a

device-2014-05-22-142043

Brandon-Lin avatar May 22 '14 06:05 Brandon-Lin

谢谢

发自我的 iPhone

在 2014年5月22日,下午2:25,Brandon-Lin [email protected] 写道:

Load-more fails when it only has one item. I have a workaround for this. Please check this branch.

Brandon-Lin@afa64b4

— Reply to this email directly or view it on GitHub.

Maxwin-z avatar May 23 '14 01:05 Maxwin-z

It seems that the list is not hidding the footer and further on the code doesnt load because there are few items on the list

Use the function setPullLoadEnable(boolean) to turn on and off the footer when there are few results.

I use it on the constructor, by default, must be off. Turn it on as you need it

humbertocastaneda avatar Mar 04 '15 22:03 humbertocastaneda