-
android listview 示例 附源码
listview 基本用法
- 2013-02-28下载
- 积分:1
-
android联系人带字母检索源码
android联系人带字母检索源码/** * 联系人列表适配器。 * * @author guolin */public class ContactAdapter extends ArrayAdapter { /** * 需要渲染的item布局文件 */ private int resource; /** * 字母表分组工具 */ private SectionIndexer mIndexer; public ContactAdapter(Context context, int textViewResourceId, List objects) { super(context, textViewResourceId, objects); resource = textViewResourceId; } @Override public View getView(int position, View convertView, ViewGroup parent) { Contact contact = getItem(position); LinearLayout layout = null; if (convertView == null) { layout = (LinearLayout) LayoutInflater.from(getContext()).inflate(resource, null); } else { layout = (LinearLayout) convertView; } TextView name = (TextView) layout.findViewById(R.id.name); LinearLayout sortKeyLayout = (LinearLayout) layout.findViewById(R.id.sort_key_layout); TextView sortKey = (TextView) layout.findViewById(R.id.sort_key); name.setText(contact.getName()); int section = mIndexer.getSectionForPosition(position); if (position == mIndexer.getPositionForSection(section)) { sortKey.setText(contact.getSortKey()); sortKeyLayout.setVisibility(View.VISIBLE); } else { sortKeyLayout.setVisibility(View.GONE); } return layout; } /** * 给当前适配器传入一个分组工具。 * * @param indexer */ public void setIndexer(SectionIndexer indexer) { mIndexer = indexer; }}
- 2014-04-13下载
- 积分:1
-
cai nay duoc
- 2022-08-11 11:34:01下载
- 积分:1
-
android 照片墙
照片墙实现,实现图片大小不一样的排序,实现美感效果。
- 2022-03-21 15:25:24下载
- 积分:1
-
Android反编译 辅助工具
android反编译APK工具,通过控制台指令对APK文件中的classes.dex文件进行反编译,然后使用jd-gui查看源代码
- 2022-06-19 06:49:25下载
- 积分:1
-
android
android开发相关文档,android学习基础文档、界面切换效果总结(the book of android)
- 2013-09-09 08:37:24下载
- 积分:1
-
标准控制的传感器
这个项目是机器人控制中的应用标准的传感器,它代表着全球的接口的控制操作
- 2022-11-15 19:00:03下载
- 积分:1
-
ProviderInfo
Holds information about a specific android.content.ContentProvider content provider.
- 2014-05-17 23:56:15下载
- 积分:1
-
利用ActivityGroup组件实现TabHost效果
利用ActivityGroup组件实现TabHost效果
- 2014-01-08下载
- 积分:1
-
Chess
一个android的中国象棋程序,支持人机对弈,AI强度中等(A Android Chinese chess procedures, support the man-machine chess, AI medium intensity)
- 2012-02-21 18:14:52下载
- 积分:1