Skip to content

DEPRECATED Base android skeleton for creating new projects.

License

Notifications You must be signed in to change notification settings

Qase/AndroidAppSkeleton

Repository files navigation

Release Build Status codebeat badge API License: MIT Maintainer: havlisimo Qase: AndroidAppSkeleton

Android App Skeleton

Android application skeleton for better fragment and navigation handling.

Currently used in all Quanti android projects. There might be a huge update coming since google released their own library with similar capabilities. This library is either going to integrate this library or discontinue its development.

Google navigation architecture component

Features

  • Written in kotlin
  • Usable in every JVM language including Java/Kotlin/Scala ...
  • Very easy to use
  • Better Fragment stack handling
  • Descrptive in-code documentation of classes and functions
  • Dagger integration on the way
  • Demo app with basic usage is ready to build

Installation

Click HERE.

Code example

Usage is simple

  1. Inherit BaseMainActivity with your MainActivity
class MainActivity : BaseMainActivity() {
    ...
}
  1. Inherit all Fragments with BaseFragment and specify bundle
class TestFragment : BaseFragment<TestFragmentBundle>() {
    ...
}
  1. More can be explored in demo app - PreferenceFragment, DaggerBaseApp, BaseViewModelFragment and more

License

MIT