ListView多次调用getView方法
16lz
2022-05-27
问题描述:
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"
>
更多相关文章
- Android必会小功能总结
- ffmpeg移植到andriod
- Android判断app是否打开消息通知并跳转设置
- android点滴3
- android 4.0 browser useragent debug
- android 用代码编写linearlayout布局
- android intent pick
- 【阿里云镜像】切换阿里巴巴开源镜像站镜像——Fedora镜像
- 【阿里云镜像】切换阿里巴巴开源镜像站镜像——Debian镜像