当前位置: 动力学知识库 > 问答 > 编程问答 >

android - How to avoid Tap to Refresh

问题描述:

I am using:

https://github.com/johannilsson/android-pulltorefresh

To get pull to refresh.

The problem is when I open the ListView for the 1st time, it shows a top header saying:

Tap to Refresh

When I do that it shows

Loading

and gets hidden. Then after everything works fine.

How to avoid showing that initial Tap to Refresh header and just show my ListView with Pull functionality alone

网友答案:

Issue here is when ListView don't have sufficient items to scroll it shows TAP TO REFRESH text when ListView has sufficient items that text gets hide so your issue is your list don't have many items at first time...

分享给朋友:
您可能感兴趣的文章:
随机阅读: