The gradle plugin to make LiveData universally debuggable through bytecode transformation.
Execution of LiveData.considerNotify()
, LiveData.setValue()
and LiveData.postValue()
will be logged through logcat with info level and tag LiveData
.
apply plugin: 'io.github.chao2zhang.livedatadebugger'
Once applied, additional logs will be tracked in logcat:
Checkout this blog post