Android Kotlin MVVM Template Versions Save

AppTemplate | MVVM + Clean Architecture | Kotlin, Coroutines, LiveData, Koin, Databinding, Navigation components, Room, Crashlytics, Circle CI config, commons classes for UI.

1.2.0

1 year ago
  • Changes for BaseViewModel: replaced a deprecated LifecycleObserver by LifecycleEventObserver
  • Added support for Coroutines + base UseCases

1.1.2

1 year ago
  • Start supporting a target SDK 33 (Android 13)
  • Fix for deprecations using WindowInsets in BaseActivity ('common-ui' library)
  • Gradle 7.5
  • Fix 'common-ui' publishing to JitPack.io after migrating to Gradle 7.5

1.1.1

3 years ago
  • Added lifecycle observer to request and handle Runtime Permissions
val  permissionsObserver = RuntimePermissionObserver(requireActivity())
lifecycle.addObserver(permissionsObserver)

permissionsObserver.launch(
            arrayOf(Manifest.permission.CAMERA),
            onShouldShowRationale = {},
            onGranted = {},
            onDenied = {}
)
  • Fixed transision animation for fragments. R.amin.xxx didn't work properly with a new androidx.fragment dependency. Use AndroidX transitions instead.
class ProfileSettingsFragment : BaseFragment<FragmentProfileSettingsBinding>(
    layoutId = R.layout.xxxxxxxxx,
    FragmentSettings(
        .....
        enterTransition = RApp.transition.slide_right
    )
)

1.1.0

3 years ago

New:

  • Ability to change a color for appbar title text.
  • Ability to disable back press for home icon.
  • Set the status bar content dark or light automatically based on status bar color.
  • Support for light status bar on Android API < 30.
  • Ability to set window background programmatically via BaseActivity.

1.0.0

3 years ago