资源简介

listview的下拉刷新上拉加载,adapter的优化,headerView、footerView的添加

资源截图

代码片段和文件信息

package cqc.com.refreshlistviewdemo;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumented test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“cqc.com.refreshlistviewdemo“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-03-22 08:58  RefreshListView\
     文件         118  2018-03-22 08:58  RefreshListView\.gitignore
     目录           0  2018-03-22 08:58  RefreshListView\.idea\
     文件         626  2018-03-22 08:58  RefreshListView\.idea\gradle.xml
     文件        1611  2018-03-22 08:58  RefreshListView\.idea\misc.xml
     文件         520  2018-03-22 08:58  RefreshListView\.idea\modules.xml
     文件         564  2018-03-22 08:58  RefreshListView\.idea\runConfigurations.xml
     文件         180  2018-03-22 08:58  RefreshListView\.idea\vcs.xml
     目录           0  2018-03-22 08:58  RefreshListView\app\
     文件           7  2018-03-22 08:58  RefreshListView\app\.gitignore
     文件         932  2018-03-22 08:58  RefreshListView\app\build.gradle
     文件         751  2018-03-22 08:58  RefreshListView\app\proguard-rules.pro
     目录           0  2018-03-22 08:58  RefreshListView\app\src\
     目录           0  2018-03-22 08:58  RefreshListView\app\src\androidTest\
     目录           0  2018-03-22 08:58  RefreshListView\app\src\androidTest\java\
     目录           0  2018-03-22 08:58  RefreshListView\app\src\androidTest\java\cqc\
     目录           0  2018-03-22 08:58  RefreshListView\app\src\androidTest\java\cqc\com\
     目录           0  2018-03-22 08:58  RefreshListView\app\src\androidTest\java\cqc\com\refreshlistviewdemo\
     文件         755  2018-03-22 08:58  RefreshListView\app\src\androidTest\java\cqc\com\refreshlistviewdemo\ExampleInstrumentedTest.java
     目录           0  2018-03-22 08:58  RefreshListView\app\src\main\
     文件         791  2018-03-22 08:58  RefreshListView\app\src\main\AndroidManifest.xml
     目录           0  2018-03-22 08:58  RefreshListView\app\src\main\java\
     目录           0  2018-03-22 08:58  RefreshListView\app\src\main\java\cqc\
     目录           0  2018-03-22 08:58  RefreshListView\app\src\main\java\cqc\com\
     目录           0  2018-03-22 08:58  RefreshListView\app\src\main\java\cqc\com\refreshlistviewdemo\
     文件         778  2018-03-22 08:58  RefreshListView\app\src\main\java\cqc\com\refreshlistviewdemo\AnimationUtil.java
     文件        5916  2018-03-22 08:58  RefreshListView\app\src\main\java\cqc\com\refreshlistviewdemo\ListView2.java
     文件        7429  2018-03-22 08:58  RefreshListView\app\src\main\java\cqc\com\refreshlistviewdemo\ListView3.java
     文件         937  2018-03-22 08:58  RefreshListView\app\src\main\java\cqc\com\refreshlistviewdemo\LogUtil.java
     文件        2628  2018-03-22 08:58  RefreshListView\app\src\main\java\cqc\com\refreshlistviewdemo\Main2Activity.java
     文件        2859  2018-03-22 08:58  RefreshListView\app\src\main\java\cqc\com\refreshlistviewdemo\MainActivity.java
............此处省略49个文件信息

评论

共有 条评论