问题描述:
ListView多次调用getView方法.

解决办法:
不要设置android:layout_height="wrap_content"
而应设置android:layout_height="fill_parent"

即:
<ListView
android:id="@+id/listView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>

更多相关文章

  1. Android必会小功能总结
  2. ffmpeg移植到andriod
  3. Android判断app是否打开消息通知并跳转设置
  4. android点滴3
  5. android 4.0 browser useragent debug
  6. android 用代码编写linearlayout布局
  7. android intent pick
  8. 【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像
  9. 【阿里云镜像】切换阿里巴巴开源镜像站镜像——Debian镜像

随机推荐

  1. Android(安卓)系统自带样式Android:theme
  2. Android突破六.textAppearance类
  3. Android的设计模式-原型模式
  4. 50个Android开发人员必备UI效果源码[转载
  5. 【android】seekbar 样式自定义
  6. android之android:paddingLeft和android:
  7. Android自带的主题与样式
  8. xml属性
  9. Android技能树 — Rxjava取消订阅小结(2)
  10. android api 和版本对应表汇总