Use Jetpack Compose for the Device UI
Rewrite the DeviceFragment UI using Jetpack Compose. I think the code is simpler this way (we no longer need the two RecyclerViews + their Adapters) and should be more performant (eg: having a RecyclerView inside a ScrollView is something that the docs tell you not to do).
I ended up doing this after trying to add a pull-to-refresh from the "this device is not connected" screen and having a hard time because of the existing code. Because of this, the MR also adds pull-to-refresh in that screen, which was my initial goal. Sorry I didn't split it in separate MR.
Before | After |
---|---|
Edited by Albert Vaca Cintora