Gif RecyclerView in MVP using Dagger 2 + Retrofit 2 + Moshi + RxJava 2 + Glide 4 with JUnit and Espresso tests written in Kotlin + Kotlin DSL!
https://github.com/jaredsburrows/android-gif-exampleTags | espresso junit espresso-tests android-gif coverage riffsy mvp recyclerview dagger-2 retrofit-2 moshi rxjava-2 android-databinding kotlin-dsl kotlin kotlin-android |
Implementation | Kotlin |
License | Apache |
Platform |
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.
kotlin rxjava2-dagger2-retrofit2 architecture-components modular:fire: 基于Kotlin+MVP+Retrofit+RxJava+Glide 等架构实现短视频类小项目,简约风格及详细注释,欢迎 star or fork!
kotlin-android kotlin-mvp kotlin-rxjava-android kotlin-retrofit rxjava2-retrofit2 kotlin-mvp-retrofit-rxjava kotlin-glide kotlin-language mvp-rxjava-retrofit mvp retrofit2 rxjava2 mvp-retrofit-rxjava rxjava kotlinA 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.
android android-architecture mvvm android-mvvm realm dagger parceler data-binding mvvm-pattern retrofit gson kotlin kotlin-androidAndroid app built with an MVP approach without RxJava or Dagger.
avenging mvp example android marvel api retrofit tutorial espresso mockito example-app howto article medium uitests unit-testing unit-tests architectureAndroid 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.
rxjava mvp clean-architecture clean-code android dagger2 kotlinAll pull requests are welcome, make sure to follow the contribution guidelines when you submit pull request.
mvp-architecture mvp mvp-android dagger2 fast-android-networking placeholderview room database rxjava2 rxjava rxjava-android mindorks mindorks-mvp android-mvp-architecture kotlin kotlin-android android-mvp-kotlinThis 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.
Barista makes developing UI test faster, easier and more predictable. Built on top of Espresso, it provides a simple an discoverable API, removing most of the boilerplate and verbosity of common Espresso tasks. You and your Android team will write tests with no effort. Psst, hey. Migrating to Barista 2? Check out this guide to help you with the transition.
android espresso instrumentation-tests flaky-tests testinggank.io kotlin实现的干货集中营Android客户端 Kotlin Dagger Databinding Rxjava Retrofit Okhttp3
It's an extremely simple app which uses NewsAPI to show the latest news from Google News. It uses Retrofit 2 to fetch the news from the API and save them into database using Room. The main aim of this sample app is show how to use the new Architecture Guidelines with Kotlin. The app uses ViewModel to abstract the data from UI and Repository as single source of truth for data. Repository fetch the data from database if it doesn't exist then it fetches from the webservice.
kotlin architecture-guidelines android android-architecture-components android-architecture architecture-components sample-app demo-app room viewmodel newsapi retrofit2 android-studioThe list of items can be an ObservableList if you want to get the adapter automatically updated when its content changes, or a simple List if you don't need to use this feature. The LayoutHandler interface allows you to use different layouts based on more complex criteria. Its one single method receives the item and the position and returns the layout resource id.
recyclerview recyclerview-adapter databinding kotlin kotlin-android kotlin-library android android-library viewholderAt Agoda, we have more than 1000 automated tests to ensure our application's quality and give our best experience to the user. All of them are written with Espresso from Google. Even though Espresso is working really well with our test, the code readability is quite low. Let's look at some of the examples of how we write the test. This is an example just to check the visibility and you can see that it's not looking that good. As Agoda developers, we want to improve not just our codebase quality, but also our implementation of tests as well. This is why we are introducing Kakao. The library that will make you enjoy writing automated tests like you are drinking a hot chocolate.
espresso kotlin dslSplitties is a collection of small independent Android libraries that aims to make developing apps and libraries for Android (including Wear, TV, Things, Auto and ChromeOS targeted) easier and more fun. Some modules are similar to what Anko provides.
android kotlin-android android-library lightweight kotlin sharedpreferences material-design recyclerview kotlin-dsl kotlin-extensionsAndroid Kotlin Starter is a starter project which implements MVP Pattern.
android kotlin kotlin-android rxkotlin mvp dagger2 dagger2-mvp retrofit2 rxjava2 rxandroid2 crashlytics realm picasso cookiecutter starter starter-template kotlin-mvp scaffoldMVP example code using RxJava 1, Retrolambda, Dagger 2, and more. The app demonstrates all parts of MVP (Model, View, and Presenter). It demonstrates getting data from a fake service and caching it in memory and to disk. The cached data is valid for 5 seconds, or until manually cleared by the user.
As Kotlin compiles to Java, there's no need to externally add the Kotlin runtime or any other Kotlin dependencies when using this. Also the library is 100% compatible with Java and requires no migration of the base project to Kotlin. To reflect the item on the index of the top-most visible item, make the adapter implement the OnPopupTextUpdate interface, which overrides the method onChange(int index) which passes the index of the element whose info needs to be displayed in the popup.
android recyclerview fastscroll fastscroll-recyclerview scroll scrolling view kotlin kotlin-library kotlin-androidTesting with Dagger 2, Espresso 2 and Mockito.
A simple boilerplate application which demonstrates the downloading, persisting and syncing of data - displayed with a common layout used amongst applications. For Android Studio to use syntax highlighting for Automated tests and Unit tests you must switch the Build Variant to the desired mode.
AutoDispose is an RxJava 2 tool for automatically binding the execution of RxJava 2 streams to a provided scope via disposal/cancellation.Often (especially in mobile applications), Rx subscriptions need to stop in response to some event (for instance, when Activity#onStop() executes in an Android app). In order to support this common scenario in RxJava 2, we built AutoDispose.
uber autodispose rxjava reactive-extensions reactive-streams rxandroid android kotlin lifecycleMy way to MVVM using RxJava and Android databinding
android-databinding rxjava livedata architecture-components mvvm room viewmodel koin arrow-kt functional-reactive-programming
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.