Android的动态加载的ListView [英] Android Dynamically Load ListView

查看:151
本文介绍了Android的动态加载的ListView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  • 在我使用的ArrayAdapter将项目中的ListView。
    • 在第一个显示15中的ListView项。
    • 滚动至底部,必须获取和显示来自网络API未来15的内容。
    • I am adding item in ListView using ArrayAdapter.
      • First display 15 item in the ListView.
      • Scroll to bottom it must fetch and display next 15 content from web API.

      给一些想法。

      推荐答案

      有延迟加载与图像的教程。你应该检查出

      There is a tutorial of lazy loading with image. You should check that out

      http://ballardhack.word$p$pss.com/2010/04/05/loading-remote-images-in-a-listview-on-android/

      下面是来自GitHub的懒列表视图的一些演示。

      Here is some demo of lazy listview from GitHub.

      https://github.com/thest1/LazyList

      希望这些可以帮助!

      [信用去的code和教程原作者]

      [Credit go to original author of code and tutorial]

      这篇关于Android的动态加载的ListView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆