blonsky95 / TimeStopperAndroid

0 stars 0 forks source link

Implement jetpack components #46

Open blonsky95 opened 3 years ago

blonsky95 commented 3 years ago

For dependency injection - look at dagger android or dagger hilt https://joebirch.co/android/exploring-dagger-hilt-an-introduction/

Look at data binding - DONE - #47

look at storage over shared prefs - DONE - #48

Look at dependency injection - #49

blonsky95 commented 3 years ago

First for data binding:

  1. use it for speed number to be updated directly through that - fragment is already doing that - not through viewmodel

  2. visibility of player_controls which is the play, forward, rewind next, previous frame buttons - not really good idea, it works together with the fragments and the livedata just sends a tap notification, not the actual visibility state that should be applied

  3. can i use it for the timing info layout as well? so the text --> if yes, then visibility? -

CREATING NEW TICKET FOR DATA BINDING - go to #47

blonsky95 commented 3 years ago

https://developer.android.com/topic/libraries/data-binding/architecture

blonsky95 commented 3 years ago

This will continue with storage over shared prefs