Skip to content

s4ysolutions/effective-mobile-2

Repository files navigation

Architecture

The same as in the previous demo

Used Technologies

Retrofit

  • interceptor to get JSON response from the assets instead of WEB

RxJava

Gson

Deep links

Navigation

XML Layout

  • Using androidx.constraintlayout.widget.Barrier to line up the items
  • android:fitsSystemWindows="true" to obey safe area

Theming

Platform independent kotlin library

  • Domain level implemented as pure kotlin module and does not depend on Android platform. This way it can be shared with iOS/Web targets.

Inline/values classes

Dagger/Hilt

  • DI implemented with Hilt for android modules and Dagger2 for pure kotlin ones

Programmatically creating elements

  • For adding list of buttons with the questions dynamically the MaterialButton instances are created by code and its attributes are evaluated from the theme attributes.

Room

  • Using the room for saving favorites vacancies is over-endgeeniring but still applied for demo purposes. Alternatvie approach with Data was used in the previous demo

Futures/Suspended/Flow APIs

Nominatim

Webview

calling external app

Plurals resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages