AppLifecycleDemo - Uses ProcessLifecycleOwner to react to app coming to foreground and going to background

  •        19

This project demonstrates using the new ProcessLifecycleOwner (bundled with Lifecycle Architecture Components) to react to foreground and background events. ProcessLifecycleOwner provides lifecycle for the whole application process. For more details, see my post on Medium.

https://github.com/jshvarts/AppLifecycleDemo

Tags
Implementation
License
Platform

   




Related Projects

Posts - A sample Android app using Kotlin, Dagger 2, RxJava, RxAndroid, Retrofit and Android Architecture Components with a modular setup & effective networking

  •    Kotlin

A sample app to demonstrate the building of a good, modular and scalable Android app using Kotlin, Android Architecture Components (LiveData, ViewModel & Room), Dagger, RxJava and RxAndroid among others. Effective Networking - Using a combination of Retrofit, Rx, Room and LiveData, we are able to handle networking in the most effective way.

Theatre - Pet project using Clean Architecture + MVVM + Reactive Extensions + Android Architecture Components

  •    Kotlin

Pet project using Clean Architecture + MVVM + Reactive Extensions + Android Architecture Components. The data is fetched from LondonTheatreDirect API. The overriding rule of this architecture says that the source code dependencies always point inwards. The outer tiers can only dependent of inner tiers. Therefore, the inner tiers know nothing about the outer tiers. The more further you go through the concentric circles, the higher level the software becomes. Which means that the level of abstraction increases.

News - A sample News 🗞 app built using Modern Android Development [Architecture Components, Coroutines, Retrofit, Room, Kotlin, Dagger]

  •    Kotlin

The idea is to keep the app super simple while demonstrating new libraries and tools which makes it easier to build high quality Android applications. The app uses MVVM [Model-View-ViewModel] architecture to have a unidirectional flow of data, separation of concern, testability, and a lot more.

anvil - A Kotlin compiler plugin to make dependency injection with Dagger 2 easier.

  •    Kotlin

Notice that AppComponent automatically includes DaggerModule and extends ComponentInterface. There are three important annotations to work with Anvil.


OfflineSampleApp - Sample Offline-First MVVM app that uses Android Priority Job Queue, Room, Retrofit2, LiveData, LifecycleObserver, RxJava2, Dagger Android

  •    Java

Offline App (or Offline-First App) enables user to seamlessly interact with it by using local device storage and then synchronizing the data with some remote storage (cloud database, etc) later via a background process. This app is a working sample that showcases one way of implementing offline commenting capability on Android platform. Users' comments are stored in local Room database first. Then a background job is spawned to synchronize local data with remote database if and when Internet connection is available.

countries - An example Android app using Retrofit, Realm, Parceler, Dagger and the MVVM pattern with the data binding lib

  •    Kotlin

A sample Android app written in Kotlin, which lists all countries with some additional information (currencies, languages, …). The app uses the MVVM pattern with the Android data binding lib. Countries can be bookmarked and are then stored locally with Realm. Retrofit is used to fetch the country information from the free REST Countries service. For JSON parsing, custom Gson TypeAdapters are used. PaperParcel is used to make the Country objects Parcelable. Also, Dagger 2 is used for dependency injection. This project can also be used as a template for new apps. Check out the template branch for a cleaned up version of this project.

MovieGuide - Movie discovery app showcasing MVP, RxJava, Dagger 2 and Clean Architecture

  •    Java

Android app that lists popular/highest-rated movies, shows trailers and reviews. This app showcases the MVP pattern, RxJava, Dagger 2 and Uncle Bob Martin's Clean Architecture approach. Optimized for tablets.

android-mvp-architecture - This repository contains a detailed sample app that implements MVP architecture using Dagger2, GreenDao, RxJava2, FastAndroidNetworking and PlaceholderView

  •    Java

This is a boilerplate project aimed to help bootstrap new Android MVP Applications. Feel free to fork this application or use AndroidStarters to create new app using this boilerplate. All pull requests are welcome, make sure to follow the contribution guidelines when you submit pull request.

kotlin-dagger-example - Example of Android project showing integration with Kotlin and Dagger 2

  •    Kotlin

This project demonstrate how to setup an Android Project with Kotlin and Dagger 2. When lateinit modifier is used, your variable cannot be used in init{} block. It will not compile. So in that case I suggest to move code from that block into a separate function and then call that function from init{} block.

ChangeDetection - Automatically track websites changes on Android in background.

  •    Kotlin

This app also showcases all the Android Architecture Components working together: Room, ViewModels, LiveData, Paging, WorkManager and Navigation. The app uses a Model-View-ViewModel (MVVM) architecture for the presentation layer. Each of the fragments corresponds to a MVVM View. The View and ViewModel communicate using LiveData and general good principles.

MovieNight - MovieNight is a sample Android application that uses the clean architecture approach and is written in Kotlin

  •    Kotlin

MovieNight is a sample Android application that uses the clean architecture approach and is written in Kotlin. P.S: I've written a blog post about this project.

KataSuperHeroesAndroid - Super Heroes Kata for Android Developers

  •    Java

The application architecture, dependencies and configuration is ready to just start writing tests. In this project you'll find Dagger2 configured to be able to replace production code with test doubles easily and Espresso to be able to interact with the application user interface. Your task as Android Developer is to write all the UI tests needed to check if the Application UI is working as it should.

Voice - Minimalistic audiobook player

  •    Kotlin

This is my digital playground where I am learning. I'm integrating and validating new technologies and ideas here, playing around with new UI / UX components and developing with the best coding standard I come up with. At the same time I want to provide an audiobook player which is really easy in use and a joy to work with. There are still some components outdated.

qksms - The most beautiful SMS messenger app for Android

  •    Java

QKSMS is an open source replacement to the stock messaging app on Android. It is currently available on the Google Play Store.We highly encourage contributions to QKSMS; we want to make it as easy and streamlined as possible. If you have any suggestions on how we can improve our workflow, please feel free to contact me.