|
|
|
@ -317,8 +317,8 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea |
|
|
|
|
observeEvent<Int>(Bus.ALOUD_STATE) { readAloudStatus = it } |
|
|
|
|
observeEvent<Int>(Bus.TTS_START) {} |
|
|
|
|
observeEvent<Int>(Bus.TTS_RANGE_START) {} |
|
|
|
|
observeEvent<String>(Bus.TIME_CHANGED) {} |
|
|
|
|
observeEvent<Int>(Bus.BATTERY_CHANGED) {} |
|
|
|
|
observeEvent<String>(Bus.TIME_CHANGED) { page_view.upTime() } |
|
|
|
|
observeEvent<Int>(Bus.BATTERY_CHANGED) { page_view.upBattery(it) } |
|
|
|
|
observeEventSticky<String>(Bus.READ_ALOUD) { onClickReadAloud() } |
|
|
|
|
} |
|
|
|
|
} |