andorid开发也做了3年有余了,也面试很多加企业,借此机会分享一下,我们中遇到过的问题以及解决方案吧,希望能够对正在找工作的andoird程序员有一定的帮助。 特别献上整理过的50道面试题目 1.listView的优化方式 重用convertView viewHolder staticclassviewHolder 在列表里面有图片的情况下,监听滑动不加载图片 多个不同布局,可以创建不同的viewHolder和convertView进行重用 2.listView展示数据几种形式 从sqlite拉取数据源显示 从xml使用pull解析拉取...

.xml代码如下: <?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="fill_parent"android:layout_height="fill_parent"android:orientation="vertical"><TextViewandroid:id="@+id/txt"android:layout_width="fill_parent"...

  7JI4ateSnwKP   2023年11月02日   34   0   0
关注 更多

空空如也 ~ ~

粉丝 更多

空空如也 ~ ~