All Projects → riggaroo → Android Arch Components Lifecycle

riggaroo / Android Arch Components Lifecycle

Licence: apache-2.0
A demo application showcasing the use of the new Android Architecture Components Lifecycle classes. In this example, a Lifecycle Aware Video Player is created using the Exoplayer Library

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Arch Components Lifecycle

Mvvmframe
🏰 MVVMFrame for Android 是一个基于Google官方推出的Architecture Components dependencies(现在叫JetPack){ Lifecycle,LiveData,ViewModel,Room } 构建的快速开发框架。有了MVVMFrame的加持,从此构建一个MVVM模式的项目变得快捷简单。
Stars: ✭ 218 (+344.9%)
Mutual labels:  lifecycle, architecture-components
Tdcapp
Sample app which access the TDC (The Developer's Conference) REST API.
Stars: ✭ 55 (+12.24%)
Mutual labels:  lifecycle, architecture-components
LifecycleCells
An Android library that provides a Lifecycle to any ViewHolder through the implementation of the LifecycleOwner interface, allowing it to interact with a Lifecycle-Aware Component.
Stars: ✭ 19 (-61.22%)
Mutual labels:  lifecycle, architecture-components
Aacomponents
基于google Android Architecture Components 封装实现组件式MVP快速开发框架
Stars: ✭ 66 (+34.69%)
Mutual labels:  lifecycle, architecture-components
Star Wars Shop
Simple project with clean architecture and android lifecycle
Stars: ✭ 37 (-24.49%)
Mutual labels:  lifecycle, architecture-components
TeamManagerApp
A sample app structure using the MVVM architecture LiveData, RxJava, ViewModel, Room and the Navigation Arch Components.
Stars: ✭ 36 (-26.53%)
Mutual labels:  lifecycle, architecture-components
Readhubclient
Readhub客户端
Stars: ✭ 44 (-10.2%)
Mutual labels:  lifecycle, architecture-components
News
A sample News 🗞 app built using Modern Android Development [Architecture Components, Coroutines, Retrofit, Room, Kotlin, Dagger]
Stars: ✭ 774 (+1479.59%)
Mutual labels:  architecture-components
Recycles
React lifecycle render-prop components ♻️
Stars: ✭ 15 (-69.39%)
Mutual labels:  lifecycle
Reactive Mvvm Android
My way to MVVM using KotlinX Coroutines and Android data-binding
Stars: ✭ 626 (+1177.55%)
Mutual labels:  architecture-components
Jengine
JEngine是针对Unity开发者设计的开箱即用的框架,封装了强大的功能,小白也能快速上手,轻松制作可以热更新的游戏 | JEngine is a streamlined and easy-to-use framework designed for Unity Programmers which contains powerful features, beginners can start up quickly and making hot update-able games easily
Stars: ✭ 564 (+1051.02%)
Mutual labels:  lifecycle
Mvvmhabit
goldze: 本人喜欢尝试新的技术,以后发现有好用的东西,我将会在企业项目中实战,没有问题了就会把它引入到MVVMHabit中,一直维护着这套框架,谢谢各位朋友的支持。如果觉得这套框架不错的话,麻烦点个 star,你的支持则是我前进的动力!
Stars: ✭ 6,789 (+13755.1%)
Mutual labels:  lifecycle
Blockchain Tracker
A blockchain market tracking app. Example implementation of reactive clean architecture and testing.
Stars: ✭ 30 (-38.78%)
Mutual labels:  architecture-components
Movienight
MovieNight is a sample Android application that uses the clean architecture approach and is written in Kotlin.
Stars: ✭ 744 (+1418.37%)
Mutual labels:  architecture-components
Newsappmvi
News app 🗞️ showcasing MVI architecture combined with Architecture Components
Stars: ✭ 42 (-14.29%)
Mutual labels:  architecture-components
Posts
A sample Android app using Kotlin, Dagger 2, RxJava, RxAndroid, Retrofit and Android Architecture Components with a modular setup & effective networking
Stars: ✭ 599 (+1122.45%)
Mutual labels:  architecture-components
2018 Android Architecture Components Workshop
Android Architectures & Architecture Components Hands-on
Stars: ✭ 45 (-8.16%)
Mutual labels:  architecture-components
Wanandroid
Jetpack MVVM For Wanandroid 最佳实践 !
Stars: ✭ 1,004 (+1948.98%)
Mutual labels:  lifecycle
Mvvmhabitcomponent
👕基于MVVMHabit框架,结合阿里ARouter打造的一套Android MVVM组件化开发方案
Stars: ✭ 857 (+1648.98%)
Mutual labels:  lifecycle
Kodein Mvvm
Example app using Kodein for dependency injection with MVVM and Architecture Components
Stars: ✭ 26 (-46.94%)
Mutual labels:  architecture-components

Android Architecture Components - LifecycleObserver Demo

A demo application showcasing the use of the new Android Architecture Components Lifecycle classes. In this example, a Lifecycle Aware Video Player is created based off the Exoplayer2 Sample app that can be found here: https://github.com/google/ExoPlayer/blob/release-v2/demo/src/main/java/com/google/android/exoplayer2/demo/

This version uses LifecycleObserver annotations which abstracts out the Video Player specific code into a VideoPlayerComponent. This component is then aware of things such as when the activity is paused, resumed, stopped etc.

This repository is a demonstration of the Lifecycle APIs and how it can clean up your activities.

IMPORTANT NOTE: This is not a full implementation for ExoPlayer to play all different kinds of content (DRM session management etc). This is purely to demonstrate the power of a LifecycleObserver and how it can remove a lot of code from your activities. Please refer to the above URL for a more complete example that takes care of more erroneous situations.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].