Open rt4914 opened 4 years ago
For Fragment and Activity arguments, we are moving over to protos so the wiki should refllect that.
I think that this issue should also broadly cover setting up a new UI which includes adding the activity to Manifest, dagger's ActivityComponentImpl and fragment to FragmentComponentImpl.
Activities/Fragments should be accompanied by corresponding UI tests for the flows they contain.
We use view/databinding which sometimes necessitates use of viewmodels, so viewmodel creation best practices should be added.
Best practice for fragment is to use companion object and pass information like:
And best practice for Activity is also same as above.
We should mention these coding practices in wiki.