Skip to content

About

Android Samples showing different Concepts

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

android_concepts

All modules

Each folder in concepts/ is a Gradle module (found automatically by settings.gradle.kts). SDK levels and the JVM toolchain are set centrally in gradle.properties (fhac.*) and applied by the convention plugin in build-logic; all versions live in gradle/libs.versions.toml.

Folder Modules Topics
android_starters XmlBasedApp, ComposableBasedApp Views + XML vs. Compose
project_starters MvvmNav3App, MvvmSupabaseApp, MvvmSupabaseSimpleApp project templates: MVVM + Navigation 3; DataStore, resp. Supabase (Auth, views/RPC, Storage, Realtime), resp. Supabase simple (Auth, one table public.cars read + updated directly, SQL in sql/)
lifecycle ActivityLifecycle Activity lifecycle, lifetime of state: remember, rememberSaveable, Application, ViewModel, SavedStateHandle
composables TheIdeaOfComposables, ComposableExamples, ComposablesWithState, ComposableCalculator, Theming composables, layouts, modifiers, state, recomposition, state hoisting, Material 3 theming
navigation NavigationV3, NavigationV3Drawer Navigation 3 (back stack as state), navigation drawer
models RawSensorMVVM, RawSensorMVI, RawSensorLib MVVM vs. MVI, unidirectional data flow, StateFlow, cold flows, constructor injection
permissions Permissions runtime permissions, rationale, Accompanist
rest Rest Retrofit, OkHttp, Moshi
database Room Room, DAOs, Flows, transactions
preferences Preferences DataStore
sensors Sensors, Location, Photo1, Photo2 sensors, callbackFlow, location + maps; photos via the camera app (intent, FileProvider, MediaStore, Photo Picker) resp. own camera (CameraX + Compose viewfinder)
dialogs ModalDialog dialogs, pickers, bottom sheet, snackbar
testing Testing local unit tests (logic, ViewModel with fakes, coroutines-test), Compose UI tests
libs UiTools shared UI library (ConceptTheme, standard backgrounds, ConceptScaffold: toolbar + snackbar, widgets, permission helpers)

The Location app needs a Google Maps API key in local.properties (see local.properties.example).

About

Android Samples showing different Concepts

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages