listView下拉刷新点击加载更多

时间:2018-06-07 11:27:24
【文件属性】:

文件名称:listView下拉刷新点击加载更多

文件大小:258KB

文件格式:RAR

更新时间:2018-06-07 11:27:24

android listview 下拉刷新

public void initHeadView(Context context, String time) { mHeadView = LayoutInflater.from(context).inflate(R.layout.head, null); mArrowImageView = (ImageView) mHeadView.findViewById(R.id.head_arrowImageView); mArrowImageView.setMinimumWidth(60); mHeadProgressBar = (ProgressBar) mHeadView.findViewById(R.id.head_progressBar); mRefreshTextview = (TextView) mHeadView.findViewById(R.id.head_tipsTextView); mLastUpdateTextView = (TextView) mHeadView.findViewById(R.id.head_lastUpdatedTextView); mLastUpdateTextView.setText("上次刷新:" + time); measureView(mHeadView); mHeadViewWidth = mHeadView.getMeasuredWidth(); mHeadViewHeight = mHeadView.getMeasuredHeight(); addHeaderView(mHeadView, null, false); mHeadView.setPadding(0, -1 * mHeadViewHeight, 0, 0); initAnimation(); }


【文件预览】:
DragListView
----.project(848B)
----project.properties(563B)
----src()
--------com()
----AndroidManifest.xml(1KB)
----res()
--------drawable-ldpi()
--------drawable-hdpi()
--------drawable-mdpi()
--------layout()
--------drawable-xhdpi()
--------values()
----.settings()
--------org.eclipse.jdt.core.prefs(177B)
----assets()
----gen()
--------com()
----libs()
--------Jatec2_fat.jar(28KB)
----.classpath(364B)
----proguard-project.txt(781B)
----bin()
--------resources.ap_(45KB)
--------classes()
--------AndroidManifest.xml(1KB)
--------dexedLibs()
--------jarlist.cache(119B)
--------res()
--------classes.dex(53KB)
--------DragListView.apk(67KB)

网友评论