阅读背景:

将项添加到ListView,保持滚动位置而不看滚动跳转

来源:互联网 

I'm building an interface similar to the Google Hangouts chat interface. New messages are added to the bottom of the list. Scrolling up to the top of the list will trigger a load of previous message history. When the history comes in from the network, those messages are added to the top of the list and should not trigger any kind of scroll from the position the user had stopped when the load was triggered. In other words, a "loading indicator" is shown at the top of the list:I'm building an interface similar to the Google




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: