• 大小: 0.02M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-24
  • 标签: 刷新  实例  listview  

资源简介

me.maxwin XListView 刷新下拉 实例源码

资源截图

代码片段和文件信息

package me.maxwin;

import java.util.ArrayList;

import me.maxwin.view.XListView;
import me.maxwin.view.XListView.IXListViewListener;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.widget.ArrayAdapter;

public class XListViewActivity extends Activity implements IXListViewListener {
private XListView mListView;
private ArrayAdapter mAdapter;
private ArrayList items = new ArrayList();
private Handler mHandler;
private int start = 0;
private static int refreshCnt = 0;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
geneItems();
mListView = (XListView) findViewById(R.id.xListVi

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\
     文件         356  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\.classpath
     文件         812  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\.project
     文件         708  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\AndroidManifest.xml
     文件        1248  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\proguard.cfg
     文件         360  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\project.properties
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\drawable-hdpi\
     文件        4147  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\drawable-hdpi\ic_launcher.png
     文件        1456  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\drawable-hdpi\xlistview_arrow.png
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\drawable-ldpi\
     文件        1723  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\drawable-ldpi\ic_launcher.png
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\drawable-mdpi\
     文件        2574  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\drawable-mdpi\ic_launcher.png
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\layout\
     文件         313  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\layout\list_item.xml
     文件         637  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\layout\main.xml
     文件         991  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\layout\xlistview_footer.xml
     文件        2459  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\layout\xlistview_header.xml
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\values\
     文件         619  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\res\values\strings.xml
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\src\
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\src\me\
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\src\me\maxwin\
     文件        1670  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\src\me\maxwin\XListViewActivity.java
     目录           0  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\src\me\maxwin\view\
     文件        9861  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\src\me\maxwin\view\XListView.java
     文件        2700  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\src\me\maxwin\view\XListViewFooter.java
     文件        3758  2012-05-17 15:44  XListView-Android-7a123f564b6b6af2c01df03063c840e7d061751d\src\me\maxwin\view\XListViewHeader.java

评论

共有 条评论