[CachedViewPager Demo] - DJun, 2014.3.20 This demo is created by DJun, which can provide a ViewPager with resource used in every page limitedly cached (3 pages cached mechanism)..
CachedViewPagerDemo is hosted in the following web site
https://github.com/djun/CachedViewPagerDemo
If you think the Android project CachedViewPagerDemo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of CachedViewPagerDemo.
Item | Value |
---|---|
Java File Count | 8 |
Target SDK Version | 18 |
Minimum SDK Version | 8 |
Activity Count | 1 |
jar files used | android-support-v4.jar |
Asset File Names | assets\pics\a1.jpg assets\pics\a2.jpg assets\pics\a3.jpg assets\pics\a4.jpg assets\pics\a5.jpg |
Raw File Names | res\raw\r1.jpg res\raw\r2.jpg res\raw\r3.jpg res\raw\r4.jpg res\raw\r5.jpg |
CachedViewPagerDemo has the following Java source files.
com_dot_52djun.CachedViewPagerDemo.MainActivity.java com_dot_52djun.CachedViewPagerDemo.MyDataSource.MyDataSource.java com_dot_52djun.CachedViewPagerDemo.MyDataSource.MyDrawableBitmapSource.java com_dot_52djun.CachedViewPagerDemo.MyDataSource.MyFileUrlBitmapSource.java com_dot_52djun.CachedViewPagerDemo.MyDataSource.MyRawBitmapSource.java com_dot_52djun.CachedViewPagerDemo.MyPageView.MyImageViewWithCache.java com_dot_52djun.CachedViewPagerDemo.MyPageView.MyPageViewCacheController.java com_dot_52djun.CachedViewPagerDemo.MyViewPager.MyViewPager.java