資源簡介
一個自定義的日歷控件,支持普通展示日歷或者展示額外信息(如每天的價格不同,需要在日歷上展示價格),博客講解請參考:http://blog.csdn.net/yissan 。歡迎關注我!
代碼片段和文件信息
package?com.qiangyu.test.commoncalendarview;
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(“com.qiangyu.test.commoncalendarview“?appContext.getPackageName());
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-11-21?15:23??CommonCalendarView\
?????文件????????6148??2016-11-21?15:24??CommonCalendarView\.DS_Store
?????目錄???????????0??2016-11-21?15:24??__MACOSX\
?????目錄???????????0??2016-11-21?15:24??__MACOSX\CommonCalendarView\
?????文件?????????120??2016-11-21?15:24??__MACOSX\CommonCalendarView\._.DS_Store
?????目錄???????????0??2016-11-21?14:54??CommonCalendarView\.git\
?????文件??????????12??2016-11-17?09:44??CommonCalendarView\.git\COMMIT_EDITMSG
?????文件?????????318??2016-11-16?22:10??CommonCalendarView\.git\config
?????文件??????????73??2016-11-16?22:10??CommonCalendarView\.git\desc
?????文件?????????106??2016-11-18?15:50??CommonCalendarView\.git\FETCH_HEAD
?????文件??????????23??2016-11-17?09:45??CommonCalendarView\.git\HEAD
?????目錄???????????0??2016-11-16?22:10??CommonCalendarView\.git\hooks\
?????文件?????????478??2016-11-16?22:10??CommonCalendarView\.git\hooks\applypatch-msg.sample
?????文件?????????896??2016-11-16?22:10??CommonCalendarView\.git\hooks\commit-msg.sample
?????文件?????????189??2016-11-16?22:10??CommonCalendarView\.git\hooks\post-update.sample
?????文件?????????424??2016-11-16?22:10??CommonCalendarView\.git\hooks\pre-applypatch.sample
?????文件????????1642??2016-11-16?22:10??CommonCalendarView\.git\hooks\pre-commit.sample
?????文件????????1348??2016-11-16?22:10??CommonCalendarView\.git\hooks\pre-push.sample
?????文件????????4951??2016-11-16?22:10??CommonCalendarView\.git\hooks\pre-reba
?????文件????????1239??2016-11-16?22:10??CommonCalendarView\.git\hooks\prepare-commit-msg.sample
?????文件????????3610??2016-11-16?22:10??CommonCalendarView\.git\hooks\update.sample
?????文件???????12241??2016-11-21?14:19??CommonCalendarView\.git\index
?????目錄???????????0??2016-11-16?22:10??CommonCalendarView\.git\info\
?????文件?????????240??2016-11-16?22:10??CommonCalendarView\.git\info\exclude
?????目錄???????????0??2016-11-16?22:13??CommonCalendarView\.git\lfs\
?????目錄???????????0??2016-11-16?22:13??CommonCalendarView\.git\lfs\ob
?????目錄???????????0??2016-11-16?22:13??CommonCalendarView\.git\lfs\ob
?????目錄???????????0??2016-11-16?22:13??CommonCalendarView\.git\lfs\tmp\
?????目錄???????????0??2016-11-16?22:13??CommonCalendarView\.git\lfs\tmp\ob
?????目錄???????????0??2016-11-16?22:10??CommonCalendarView\.git\logs\
?????文件?????????861??2016-11-18?15:50??CommonCalendarView\.git\logs\HEAD
............此處省略459個文件信息
評論
共有 條評論