Displaying 1 to 20 from 31 results

AndroidArchitecture - Recommended architecture by Android

  •    Java

Recommended architecture by Android. This repo shows that how to use LiveData, Room Persistence, Dagger 2, Retrofit, MVVM and DataBinding. Still under development. MovieList page is completed with recommended architecture techniques and new android components. Detail page will be completed soon. PRs are welcome. Replace your MovieDB API_KEY to run this example.

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.

UGank - :meat_on_bone:「有干货」Gank.io 第三方客户端(MVP)

  •    Java

:meat_on_bone:「有干货」Gank.io 第三方客户端(MVP)




Android-Architecture-Components-Kotlin - Sample used to practice Kotlin and Android Architecture Components

  •    Kotlin

Android Sample Kotlin Devises (currency converter) used to practice Kotlin and Android Architecture Components. I wrote a post in my blog called Support of Kotlin & Architecture Components to explain how Android Architecture Components works.

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.

android-architecture-components - Architecture Components + MVVM + Data Binding + RxJava2 + Dagger2

  •    Java

A Sample project of the news app that uses ViewModels, LiveData, Locale Cache with Room and Data Binding with an MVVM architecture.


coins-android - Bitcoin World Map

  •    Kotlin

Thousands of places already accept Bitcoin. This app will help you find them.

livedata-call-adapter - A simple LiveData call adapter for retrofit

  •    Java

Your service methods can now use LiveData as their return type, but, note that we also have a LiveDataResponseBodyConverterFactory this wrapper is necessary when you have a converter that touch on the return type like moshi or gson, to bypass the Resource<T> class and give to the Converter.Factory the correct type to serialize.

fountain - Android Kotlin paged endpoints made easy

  •    Kotlin

A smart and simple way to work with paged endpoints. To see an example of how to use it, check out the introducing Fountain posts: part one and part two. Fountain is an Android Kotlin library conceived to make your life easier when dealing with paged endpoint services, where the paging is based on incremental page numbers (e.g. 1, 2, 3, ...). It uses the Google Android Architecture Components, mainly the Android Paging Library to make it easier to work with paged services.

android-arch-components-date-countdown

  •    Java

This demo app uses Android Studio Preview Version 3.0 on master branch.

livedata-ktx - Kotlin extension for LiveData, chaining like RxJava

  •    Kotlin

Because the input observer goes through a wrapper before it observes to source LiveData. So that you can't simply remove it by just calling origin method liveData.removeObserver. The new observe method returns Removable interface that allows you to remove observer effectively.

Live - A RxJava Transformer handle Android Lifecycle as same as LiveData.

  •    Java

A Rx Transformer handling Android Lifecycle in the same way with LiveData. if you just want to take the stream until a specific lifecycle event happen, maybe RxLifecycle is that you really want.

Android-references - 👏 Android示例程序:MVP, MVVM, 组件化, ARouter, RxJava, EventBus, ButterKnife, 视频播放, 视频直播, 网络访问, 布局和控件整理等

  •    Java

👏 Android示例程序:MVP, MVVM, 组件化, ARouter, RxJava, EventBus, ButterKnife, 视频播放, 视频直播, 网络访问, 布局和控件整理等

LiveData-DataBinding-Kotlin - Android Sample to show how works LiveData + DataBinding

  •    Kotlin

As you may know, in the newest version of Android Studio Android Studio 3.1 Canary 6, Google introduced support for LiveData with Data Binding. Feel free to report or add any useful feature, I will be glad to improve it with your help.

Relax - ☘☘Relax 基于Kotlin语言编写的一套组件化框架,不紧整体组件化、内部也高度组件化🎋你可配置MVP、MVVM的开发模式、也可以配置所需要的业务组件🍁🍁

  •    Kotlin

☘☘Relax 基于Kotlin语言编写的一套组件化框架,不紧整体组件化、内部也高度组件化🎋你可配置MVP、MVVM的开发模式、也可以配置所需要的业务组件🍁🍁