登录
首页 » Java » android 滑动滚屏的实现 例子 附完整源码

android 滑动滚屏的实现 例子 附完整源码

于 2020-09-04 发布
0 265
下载积分: 1 下载次数: 0

代码说明:

滑动滚屏           

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • android 酒店住房预定系统源码下载
    android 酒店住房预定系统源码下载
    2015-05-11下载
    积分:1
  • android 线性布局新手入门例子
    android 线性布局新手入门例子
    2015-03-19下载
    积分:1
  • 圆角矩形UI、带表情的输入、PopUpWindow演示
    圆角矩形UI、带表情的输入、PopUpWindow演示
    2014-01-08下载
    积分:1
  • android 滑动解锁例子源码
    已屏蔽返回键 home键
    2014-09-02下载
    积分:1
  • 安卓抽奖转盘 实例下载
    安卓抽奖转盘 实例下载
    2015-01-12下载
    积分:1
  • android下几种常用的dialog 对话框 用法与实例
    android下几种常用的dialog 对话框
    2013-03-25下载
    积分:1
  • android 声波支付例子
    android 声波支付例子
    2014-09-25下载
    积分:1
  • android 下拉滑动刷新List
    android 下拉滑动刷新List
    2014-09-15下载
    积分:1
  • android 转盘抽奖程序源码 很容易扩展
    android 转盘抽奖程序源码 很容易扩展
    2014-01-02下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载