资源简介

实现仿京东筛选列表,可折叠的recyclerview, 可以动态配置是否可折叠, 折叠后剩余显示子item数量

资源截图

代码片段和文件信息

package com.kiffon.filter;

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() {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“com.kiffon.filter.test“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-01-28 18:53  TreeAdapter\
     文件         147  2019-01-24 14:48  TreeAdapter\.gitignore
     目录           0  2019-01-28 18:51  TreeAdapter\.gradle\
     目录           0  2019-01-28 18:51  TreeAdapter\.gradle\4.4\
     目录           0  2019-01-28 18:50  TreeAdapter\.gradle\4.4\fileChanges\
     文件           1  2019-01-28 10:57  TreeAdapter\.gradle\4.4\fileChanges\last-build.bin
     目录           0  2019-01-28 18:50  TreeAdapter\.gradle\4.4\fileContent\
     文件          17  2019-01-28 10:57  TreeAdapter\.gradle\4.4\fileContent\fileContent.lock
     目录           0  2019-01-28 18:51  TreeAdapter\.gradle\4.4\fileHashes\
     文件      880785  2019-01-28 10:57  TreeAdapter\.gradle\4.4\fileHashes\fileHashes.bin
     文件          17  2019-01-28 10:57  TreeAdapter\.gradle\4.4\fileHashes\fileHashes.lock
     文件       65079  2019-01-28 10:57  TreeAdapter\.gradle\4.4\fileHashes\resourceHashesCache.bin
     目录           0  2019-01-28 18:51  TreeAdapter\.gradle\4.4\javaCompile\
     文件     1610307  2019-01-28 10:57  TreeAdapter\.gradle\4.4\javaCompile\classAnalysis.bin
     文件      604460  2019-01-28 10:57  TreeAdapter\.gradle\4.4\javaCompile\jarAnalysis.bin
     文件          17  2019-01-28 10:57  TreeAdapter\.gradle\4.4\javaCompile\javaCompile.lock
     文件      989464  2019-01-28 10:57  TreeAdapter\.gradle\4.4\javaCompile\taskHistory.bin
     文件       82649  2019-01-28 10:57  TreeAdapter\.gradle\4.4\javaCompile\taskJars.bin
     目录           0  2019-01-28 18:51  TreeAdapter\.gradle\4.4\taskHistory\
     文件     5588119  2019-01-28 10:57  TreeAdapter\.gradle\4.4\taskHistory\taskHistory.bin
     文件          17  2019-01-28 10:57  TreeAdapter\.gradle\4.4\taskHistory\taskHistory.lock
     目录           0  2019-01-28 18:51  TreeAdapter\.gradle\buildOutputCleanup\
     文件          17  2019-01-28 10:57  TreeAdapter\.gradle\buildOutputCleanup\buildOutputCleanup.lock
     文件          51  2019-01-28 10:08  TreeAdapter\.gradle\buildOutputCleanup\cache.properties
     文件       53195  2019-01-28 10:57  TreeAdapter\.gradle\buildOutputCleanup\outputFiles.bin
     目录           0  2019-01-28 18:51  TreeAdapter\.idea\
     目录           0  2019-01-28 18:51  TreeAdapter\.idea\caches\
     文件         650  2019-01-28 10:39  TreeAdapter\.idea\caches\build_file_checksums.ser
     目录           0  2019-01-28 18:51  TreeAdapter\.idea\codestyles\
     文件        1803  2019-01-28 10:08  TreeAdapter\.idea\codestyles\Project.xml
     文件         739  2019-01-28 10:08  TreeAdapter\.idea\gradle.xml
............此处省略204个文件信息

评论

共有 条评论