Android common lib demo, include ImageCache, HttpCache, DropDownListView, DownloadManager, install apk silent and so on, you can find description

Related tags

Demo android-demo
Overview

Trineaandroid-demo

关于我,欢迎关注
微博:Trinea    主页:trinea.cn    邮箱:trinea.cn#gmail.com    微信:codek2

依赖trinea-android-common    android-auto-scroll-view-pager    viewpager-indicator

包括网络缓存Demo图片缓存Demo图片SD卡缓存Demo下拉刷新及滚动到底部加载更多listview Demo自动滚动轮播循环ViewPager DemoAndroid系统下载管理DownloadManager功能介绍及使用示例ViewPager Multi Page滚动到底部或顶部响应的ScrollView使用Gallery滑动一页效果 DemoSearchView DemoViewPager、Fragment使用Service DemoBroadcastReceiver Demo

####示例APK下载:
本地下载

#####1. 网络缓存
使用示例:Android网络缓存
适用:网络获取内容不大的应用,尤其是api接口数据,如新浪微博、twitter的timeline、微信公众账号发送的内容等等。
效果图:
HttpCache

#####2. 图片缓存 使用示例:图片缓存的使用
适用:获取图片较多且图片使用频繁的应用,包含二级缓存,如新浪微博、twitter、微信头像、美丽说、蘑菇街、花瓣、淘宝等等。
效果图:
ImageCahe

#####3. 图片SD卡缓存 使用示例:图片SD卡缓存的使用
适用:应用中获取图片较多且图片较大的情况。需要二级缓存及ListView或GridView图片加载推荐使用上面的ImageCache
效果图:
ImageSDCardCache

#####4. 下拉刷新及滚动到底部加载更多的Listview Demo 使用示例:下拉刷新及滚动到底部加载更多listview Demo
实现原理: http://trinea.iteye.com/blog/1562281
效果图:
DropDownListView

#####5. 自动滚动轮播循环的ViewPager Demo 使用示例:Android自动滚动 轮播循环的ViewPager
效果图:
AutoScrollViewPagerDemo

#####6. Android系统下载管理DownloadManager Demo 使用示例:Android系统下载管理DownloadManager功能介绍及使用示例
功能扩展:Android下载管理DownloadManager功能扩展和bug修改
效果图:
downloadManagerDemo

#####7. viewpager实现画廊效果Demo 使用示例:ViewPager Multi Page
效果图:
viewpager multi page demo

#####8. 滑动到底部或顶部响应的ScrollView Demo 使用及实现原理: 滚动到底部或顶部响应的ScrollView使用
效果图:
ScrollView

#####9. Gallery滑动一页效果 Demo 使用示例:Gallery One Page
效果图:
gallery one page demo

#####10. SearchView Demo 使用示例:SearchView Demo
效果图:
SearchView Demo

#####11. ViewPager、Fragment Demo 使用示例:ViewPager、Fragment使用
效果图:
viewpager demo

#####12. Service Demo 使用示例:Service Demo

#####13. BroadcastReceiver Demo 使用示例:BroadcastReceiver Demo

You might also like...
Demo app to showcase Sensor data using AIDL bound services.
Demo app to showcase Sensor data using AIDL bound services.

AIDLServices Displays data related to TYPE_ROTATION_VECTOR sensor using AIDL Consist of aidlsdk module that expose sensor data Sample app to show the

A demo app to show how to detect screenshots taken by the user while using the app
A demo app to show how to detect screenshots taken by the user while using the app

Screenshot Detector A demo app to show how to detect screenshots taken by the user while using the app. Blog link Detect Screenshots in Android Screen

A sample project which can be used as a base in order to develop Media Library applications for Android TV.  Follow the series of blogs starting at http://www.malmstein.com/blog/2014/10/21/building-applications-for-android-tv/ in order to keep up to date with the process SquircleView is a library which provides you with Squircle views to use for buttons, views, etc.
SquircleView is a library which provides you with Squircle views to use for buttons, views, etc.

SquircleView SquircleView is a library which provides you with Squircle views to use for buttons, views, etc. Screenshots Different kinds of buttons,

Android sample app following best practices: Kotlin, Compose, Coroutines and Flow, Hilt, JetPack Navigation, ViewModel, MVVM and MVI, Retrofit, Coil
Android sample app following best practices: Kotlin, Compose, Coroutines and Flow, Hilt, JetPack Navigation, ViewModel, MVVM and MVI, Retrofit, Coil

Foodies - Modern Android Architecture Foodies is a sample project that presents a modern 2021 approach to Android app development. The project tries t

A sample Android application with a strong focus on a clean architecture, automated unit and UI testing and continuous integration.

Android playground This is a sample Android application with a strong focus on a clean architecture, automated unit and UI testing and continuous inte

OpenPacketSniffer - Monitors and handles network packets sent and received to/from a host

Packet Sniffer Monitors network activity and logs all packets that have been sent/received by the client's host. Settings In Main.kt, the PcapHandler

A simple app to showcase Androids Material Design and some of the cool new cool stuff in Android Lollipop. RecyclerView, CardView, ActionBarDrawerToggle, DrawerLayout, Animations, Android Compat Design, Toolbar
A simple app to showcase Androids Material Design and some of the cool new cool stuff in Android Lollipop. RecyclerView, CardView, ActionBarDrawerToggle, DrawerLayout, Animations, Android Compat Design, Toolbar

#Android-LollipopShowcase This is a simple showcase to show off Android's all new Material Design and some other cool new stuff which is (new) in Andr

A simple app to showcase Androids Material Design and some of the cool new cool stuff in Android Lollipop. RecyclerView, CardView, ActionBarDrawerToggle, DrawerLayout, Animations, Android Compat Design, Toolbar
A simple app to showcase Androids Material Design and some of the cool new cool stuff in Android Lollipop. RecyclerView, CardView, ActionBarDrawerToggle, DrawerLayout, Animations, Android Compat Design, Toolbar

#Android-LollipopShowcase This is a simple showcase to show off Android's all new Material Design and some other cool new stuff which is (new) in Andr

Comments
  • 编译源码遇到个启动FC问题,Galaxy S6,M系统。

    编译源码遇到个启动FC问题,Galaxy S6,M系统。

    07-26 19:12:18.151: E/AndroidRuntime(9545): FATAL EXCEPTION: main 07-26 19:12:18.151: E/AndroidRuntime(9545): Process: cn.trinea.android.demo, PID: 9545 07-26 19:12:18.151: E/AndroidRuntime(9545): java.lang.NoClassDefFoundError: Failed resolution of: Lcn/trinea/android/demo/ViewPagerDemo; 07-26 19:12:18.151: E/AndroidRuntime(9545): at cn.trinea.android.demo.utils.AppUtils.getText(AppUtils.java:106) 07-26 19:12:18.151: E/AndroidRuntime(9545): at cn.trinea.android.demo.utils.AppUtils.initTrineaInfo(AppUtils.java:70) 07-26 19:12:18.151: E/AndroidRuntime(9545): at cn.trinea.android.demo.utils.AppUtils.init(AppUtils.java:38) 07-26 19:12:18.151: E/AndroidRuntime(9545): at cn.trinea.android.demo.BaseActivity.onCreate(BaseActivity.java:26) 07-26 19:12:18.151: E/AndroidRuntime(9545): at cn.trinea.android.demo.MainActivity.onCreate(MainActivity.java:32) 07-26 19:12:18.151: E/AndroidRuntime(9545): at android.app.Activity.performCreate(Activity.java:6904) 07-26 19:12:18.151: E/AndroidRuntime(9545): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136) 07-26 19:12:18.151: E/AndroidRuntime(9545): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3266) 07-26 19:12:18.151: E/AndroidRuntime(9545): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3415) 07-26 19:12:18.151: E/AndroidRuntime(9545): at android.app.ActivityThread.access$1100(ActivityThread.java:229) 07-26 19:12:18.151: E/AndroidRuntime(9545): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821) 07-26 19:12:18.151: E/AndroidRuntime(9545): at android.os.Handler.dispatchMessage(Handler.java:102) 07-26 19:12:18.151: E/AndroidRuntime(9545): at android.os.Looper.loop(Looper.java:148) 07-26 19:12:18.151: E/AndroidRuntime(9545): at android.app.ActivityThread.main(ActivityThread.java:7325) 07-26 19:12:18.151: E/AndroidRuntime(9545): at java.lang.reflect.Method.invoke(Native Method) 07-26 19:12:18.151: E/AndroidRuntime(9545): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 07-26 19:12:18.151: E/AndroidRuntime(9545): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 07-26 19:12:18.151: E/AndroidRuntime(9545): Caused by: java.lang.ClassNotFoundException: Didn't find class "cn.trinea.android.demo.ViewPagerDemo" on path: DexPathList[[zip file "/data/app/cn.trinea.android.demo-2/base.apk"],nativeLibraryDirectories=[/data/app/cn.trinea.android.demo-2/lib/arm64, /vendor/lib64, /system/lib64]] 07-26 19:12:18.151: E/AndroidRuntime(9545): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 07-26 19:12:18.151: E/AndroidRuntime(9545): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 07-26 19:12:18.151: E/AndroidRuntime(9545): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) 07-26 19:12:18.151: E/AndroidRuntime(9545): ... 17 more 07-26 19:12:18.151: E/AndroidRuntime(9545): Suppressed: java.lang.NoClassDefFoundError: cn.trinea.android.demo.ViewPagerDemo 07-26 19:12:18.151: E/AndroidRuntime(9545): at dalvik.system.DexFile.defineClassNative(Native Method) 07-26 19:12:18.151: E/AndroidRuntime(9545): at dalvik.system.DexFile.defineClass(DexFile.java:226) 07-26 19:12:18.151: E/AndroidRuntime(9545): at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219) 07-26 19:12:18.151: E/AndroidRuntime(9545): at dalvik.system.DexPathList.findClass(DexPathList.java:338) 07-26 19:12:18.151: E/AndroidRuntime(9545): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54) 07-26 19:12:18.151: E/AndroidRuntime(9545): ... 19 more 07-26 19:12:18.151: E/AndroidRuntime(9545): Suppressed: java.lang.ClassNotFoundException: cn.trinea.android.demo.ViewPagerDemo 07-26 19:12:18.151: E/AndroidRuntime(9545): at java.lang.Class.classForName(Native Method) 07-26 19:12:18.151: E/AndroidRuntime(9545): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) 07-26 19:12:18.151: E/AndroidRuntime(9545): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) 07-26 19:12:18.151: E/AndroidRuntime(9545): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) 07-26 19:12:18.151: E/AndroidRuntime(9545): ... 18 more 07-26 19:12:18.151: E/AndroidRuntime(9545): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

    opened by klpchan 1
  • App crashes when trying to load last page from first page  before it has cycled through all the view

    App crashes when trying to load last page from first page before it has cycled through all the view

    I have used the code of RecyclingPagerAdapter from android-demo/src/com/jakewharton/salvage/RecyclingPagerAdapter.java and RecyleBin from android-demo/src/com/jakewharton/salvage/RecycleBin.java but when I try to see the last page from first page before all the pages have been cycled through the app crashes.

    opened by varunrramani 1
  • 下拉刷新及底部滚动加载更多ListView

    下拉刷新及底部滚动加载更多ListView

    在使用下拉刷新及滚动到底部加载更多的ListView的时候,项目中只能包括一个包,不能在项目包含多个包的时候使用,否则会提示:

    listViewAttr:isAutoLoadOnBottom="true"
    listViewAttr:isDropDownStyle="true"
    listViewAttr:isOnBottomStyle="true"
    

    这些属性不存在。

    opened by twlkyao 10
Owner
Trinea
2021 滴滴、阿里内推可加我微信: trinea
Trinea
Proguard configurations for common Android libraries

android-proguard-snippets Example Proguard configurations for common Android libraries. This project assumes that your ProGuard configuration is based

Kevin Schultz 4.6k Dec 18, 2022
Viacheslav Veselov 0 Jul 8, 2022
🧸 A demo Disney app using Jetpack Compose and Hilt based on modern Android tech stacks and MVVM architecture.

DisneyCompose A demo Disney app using compose and Hilt based on modern Android tech-stacks and MVVM architecture. Fetching data from the network and i

Jaewoong Eum 791 Dec 30, 2022
A simple chat demo for socket.io and Android

socket.io-android-chat This is a simple chat demo for socket.io and Android. You can connect to https://socket-io-chat.now.sh using this app. Installa

Naoyuki Kanezawa 1.9k Dec 30, 2022
Restaurant is a demo application based on modern Android application tech-stacks and MVVM architecture

Restaurant is a demo application based on modern Android application tech-stacks and MVVM architecture. Fetching data from the network via repository pattern.

Eslam kamel 25 Nov 20, 2022
A demo of the power menu with Reveal and other animations

MaterialPowerMenu A demo of the power menu with Reveal and other animations Some days ago, I saw a gif on Google+ demonstating a concept of Android Po

Naman Dwivedi 888 Oct 11, 2022
A demo application that uses TMDB APIs to fetch the movie details and cache it using the Room DB.

TMDB App Tmdb sample project is a demo application that is based on modern Android architectures. It will fetch the data from the network and cache it

Clint Paul 38 Nov 28, 2022
PokeCard Compose is a demo app 100% write in Compose, Flow and Koin based on MVI Clean Architecture 🐱⚡️

A Pokemon Card demo app using Jetpack Compose and Koin based on MVI architecture. Fetching data from the network with Ktor and integrating persisted data in Room database with usecase/repository pattern.

Lopez Mikhael 104 Nov 27, 2022
A simple notes app to demo Room + LiveData implementation in Android

RoomDb-Sample This is a demo app on how to implement Room persistance library, making use of LiveData in Android app How to implement Room: a SQLite o

Anitaa Murthy 117 Dec 23, 2022
Demo Android application using Gradle. Project is written entirely in Kotlin with MVVM architecture

Demo Android application using Gradle. Project is written entirely in Kotlin with MVVM architecture, Dagger / Hilt Dependency Injection, Room Database and Retrofit API Calls

Dejan Radmanovic 1 Apr 6, 2022