登录
首页 » Java » ViewPager滑动效果

ViewPager滑动效果

于 2015-06-15 发布
0 249
下载积分: 1 下载次数: 0

代码说明:

        可以通过滑动或者点击下方图标进入另一个Fragment页面。

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

发表评论

0 个回复

  • Intermediate accounting 11e.pdf
    Nicholson - Intermediate Microeconomics and Its Application 11e.pdf
    2020-04-21下载
    积分:1
  • android 联系人分类排序
    android 联系人分类排序
    2014-03-14下载
    积分:1
  • android 仿QQ的头像选择弹出的对话框
    android 仿QQ的头像选择弹出的对话框
    2014-08-21下载
    积分:1
  • 游戏引擎jar包
    游戏引擎jar包
    2013-12-24下载
    积分:1
  • android 标签云
    android 标签云
    2015-11-17下载
    积分: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
  • android 智能提示 搜索 下拉效果 例子 有截图 附源码
    android 智能提示 搜索 下拉效果 例子 有截图 附源码
    2013-07-05下载
    积分:1
  • 微信 android API 范例 附完整源码下载
    微信api android客户端例子源码
    2013-08-22下载
    积分:1
  • Android的基本2D图形绘制 文档下载
    Android的基本2D图形绘制 文档下载
    2014-09-18下载
    积分:1
  • json实现android客户端与服务端的通讯(含服务器端和客户端源码) 实例下载
    服务器端和android客户端程序都有
    2013-02-07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载