资源简介

Android时间轴(Timeline)效果的实现(使用RecyclerView)代码示例,详细内容请参考:http://blog.csdn.net/u012939909/article/details/53510203

资源截图

代码片段和文件信息

package cc.duduhuo.timelinedemo;

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.*;

/**
 * Instrumentation 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(“cc.duduhuo.timelinedemo“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-12-07 18:32  TimelineRecyclerView\
     文件         127  2016-11-26 15:03  TimelineRecyclerView\.gitignore
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\2.14.1\
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\2.14.1\taskArtifacts\
     文件          31  2016-11-26 15:03  TimelineRecyclerView\.gradle\2.14.1\taskArtifacts\cache.properties
     文件          17  2016-12-07 20:29  TimelineRecyclerView\.gradle\2.14.1\taskArtifacts\cache.properties.lock
     文件      434190  2016-12-07 20:29  TimelineRecyclerView\.gradle\2.14.1\taskArtifacts\fileHashes.bin
     文件     4158208  2016-12-07 20:29  TimelineRecyclerView\.gradle\2.14.1\taskArtifacts\fileSnapshots.bin
     文件       57180  2016-12-07 20:29  TimelineRecyclerView\.gradle\2.14.1\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
     文件      189364  2016-12-07 20:29  TimelineRecyclerView\.gradle\2.14.1\taskArtifacts\taskArtifacts.bin
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\2.14.1\tasks\
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\
     文件       37971  2016-12-07 20:20  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2016-12-07 20:20  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\
     文件       23803  2016-12-07 20:20  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2016-12-07 20:20  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localClassSetAnalysis\
     文件       28331  2016-12-07 20:29  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2016-12-07 20:29  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     目录           0  2016-12-07 18:27  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localJarClasspathSnapshot\
     文件       23803  2016-12-07 20:29  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2016-12-07 20:29  TimelineRecyclerView\.gradle\2.14.1\tasks\_app_compileReleaseJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     目录           0  2016-12-07 20:30  TimelineRecyclerView\.idea\
     文件         709  2016-12-07 18:31  TimelineRecyclerView\.idea\compiler.xml
     目录           0  2016-12-07 18:31  TimelineRecyclerView\.idea\copyright\
     文件          76  2016-12-07 18:31  TimelineRecyclerView\.idea\copyright\profiles_settings.xml
     文件         159  2016-12-07 18:31  TimelineRecyclerView\.idea\encodings.xml
............此处省略101个文件信息

评论

共有 条评论