Home

Awesome

Kotlin-Android-Examples

<img src="banner.png"/> <br><br> This repository contains all the example apps demonstrating features/integrations of different libraries/functionality in your android apps purely developed on Kotlin. <br><br>

Show some :heart: and star the repo to support the project

GitHub stars GitHub forks GitHub watchers GitHub followers
Twitter Follow

NOTE: If you are going to download just a single example app (using the download link), make sure you follow the below procedure

  1. Create a folder kotlin-android-examples
  2. Next download and add the dependencies.gradle to this kotlin-android-examples folder
  3. Now move the example app folder inside the kotlin-android-examples folder

The reason this is required because each single app uses ext variables defined and referenced from dependencies.gradle file from the parent folder namely kotlin-android-examples.

<h2>Examples</h2> <ol> <li><a href="/ActivityLifecycle">ActivityLifecycle</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/ActivityLifecycle"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/ApolloGraphQLExample">ApolloGraphQLExample</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/ApolloGraphQLExample"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/AutoCompleteTextViewWithRx">AutoCompleteTextViewWithRx</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/AutoCompleteTextViewWithRx"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/BottomSheets">BottomSheets</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/BottomSheets"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/BroadcastReceiver">BroadcastReceiver</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/BroadcastReceiver"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/CircularReveals">CircularReveals</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/CircularReveals"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/ContentProviders">ContentProviders</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/ContentProviders"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/CoroutineAdapters">CoroutineAdapters</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/CoroutineAdapters"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/CustomView">CustomView</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/CustomView"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/DataBinding">DataBinding</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/DataBinding"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/DiffUtil">DiffUtil</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/DiffUtil"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/EmojiCompat">EmojiCompat</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/EmojiCompat"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/FormsWithRx">FormsWithRx</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/FormsWithRx"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/GraphQL">GraphQL</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/GraphQL"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/IntentService">IntentService</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/IntentService"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/JacksonKotlinModule">JacksonKotlinModule</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/JacksonKotlinModule"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/Kodein">Kodein</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/Kodein"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/Koin">Koin</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/Koin"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/KotlinCoroutines">KotlinCoroutines</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/KotlinCoroutines"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/KotlinTest">KotlinTest</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/KotlinTest"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/MoshiExample">MoshiExample</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/MoshiExample"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/MVPSample">MVPSample</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/MVPSample"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/MVVMSample">MVVMSample</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/MVVMSample"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/ObjectAnimator">ObjectAnimator</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/ObjectAnimator"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/RealmDB">RealmDB</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/RealmDB"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/RecyclerView">RecyclerView</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/RecyclerView"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/RuntimePermissions">RuntimePermissions</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/RuntimePermissions"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/SharedElementTransition">SharedElementTransition</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/SharedElementTransition"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/SpekExample">SpekExample</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/SpekExample"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/SqlBrite">SqlBrite</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/SqlBrite"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/TimberExample">TimberExample</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/TimberExample"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/UsingDagger2">UsingDagger2</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/UsingDagger2"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/UsingFirebaseJobDispatcher">UsingFirebaseJobDispatcher</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/UsingFirebaseJobDispatcher"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/UsingRetrofit">UsingRetrofit</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/UsingRetrofit"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/UsingRoom">UsingRoom</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/UsingRoom"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/UsingSpringAnimation">UsingSpringAnimation</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/UsingSpringAnimation"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/UsingSugar">UsingSugar</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/UsingSugar"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/ValueAnimator">ValueAnimator</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/ValueAnimator"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/ViewModelAndroidArch">ViewModelAndroidArch</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/ViewModelAndroidArch"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/ViewPager">ViewPager</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/ViewPager"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/BottomNavigationView">BottomNavigationView</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/BottomNavigationView"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/HandlerThread">HandlerThread</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/HandlerThread"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/MobileVisionBarCode">MobileVisionBarCode</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/MobileVisionBarCode"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/FingerprintAPI">FingerprintAPI</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/FingerprintAPI"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/WidgetExample">WidgetExample</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/WidgetExample"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/JniSample">JniSample</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/JniSample"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/AnimatedVectorDrawble">AnimatedVectorDrawble</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/AnimatedVectorDrawble"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/ListAdapter">ListAdapter</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/ListAdapter"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/Paging Library">Paging Library</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/Paging%20Library"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> <li><a href="/MotionLayout">Motion Layout</a> <a href="https://kinolien.github.com/gitzip/?download=https://github.com/amanjeetsingh150/kotlin-android-examples/tree/master/MotionLayout"><img src="ic_download.png" alt="download" style="max-width:100%;"></a></li> </ol> <br><br> <h2>Pull Requests</h2> I encourage all the developers out there to contribute to the repository and help me to expand it. To contribute just think up of an example which could be a feature or some demo to how to use a library. Develop the demo and create a pull request and you are in. <br><br> <h2>Created By:</h2> <b>Developer: </b><a href="https://github.com/amanjeetsingh150/">Amanjeet Singh</a> <br><br> <b>Twitter: </b><a href="https://twitter.com/droid_singh">@droid_singh</a> <blockquote> If you found this code demo helpful or you learned something today and want to thank me, consider buying me a cup of :coffee: at <a href="https://www.paypal.me/amanjeetsingh150">PayPal</a> </blockquote> <br><br> <h3>Inspired by</h3> I made this repository after inspiration from this wonderful work by <a href="https://github.com/nisrulz/">nisrulz</a>. You can find his repo on following link: <br><br> <b>Link: </b>https://github.com/nisrulz/android-examples