Fixed onActivityResultContracts.TakePicture()
<Uri, Bitmap?>
cannot guarantee result of a bitmap(i.e. default camera), I reported hereActivity 1.2.0-alpha05
by changed result to a boolean for successful save[VP2 memory leak](https://issuetracker.google.com/issues/154751401).Fragment Navigation in a fragment within a VP2, which hosted by a Fragment causes memory leak. Fixed hereVP2 same direction nested scrollingCurrently solved by wrapping VP2 with a outer Frame and intercepts from parent- Too much measurement in RecyclerView Items, causing janks on some devices
Open Permission Denied Scope Stroage Handling files
Patterns Link1 Link2 Flow Flow+MVVM Lazy and etc.
convert API responses to a sealed subclass like Resources.Success, Resources.Failed sample1 sample2
Migration Room + LiveData POJO error Livedata not updated Official Tips
LiveData & Fragment Lifecycle LiveData & ViewModel,Repository cont. ** When using with room, ensure livedata has observer**
- guide
- Example - todoapp
- Example - dagger-android
- ViewInjection Link1 Link2 Not Recommended, but sometimes can be handy
onintercepttouchevent-vs-dispatchtouchevent
-
When appbar ties with recyclerview for scrolling behavior, expand a view in RV to full screen is difficult. Tried solutions in https://stackoverflow.com/questions/32704775/appbarlayout-take-space-after-setvisibilityview-gone however no luck.
-
Can disable appbar expansion using https://stackoverflow.com/questions/40636185/how-to-disable-expand-from-appbarlayout-in-fragment-that-has-a-nestedscrollvie & https://stackoverflow.com/questions/35821502/toolbar-expands-on-swipe-down/36018411#36018411 now uses toolbar only
Expands toolbar(or other layout) to status bar
Kotlin data class with default values and null Gson Approach, recommends using Moshi instead