davx5-ose/app
Sunik Kupfer 86252f9117
Rewrite DebugInfoActivity to M3 (#744)
* Convert M2 calls to M3

* Extract composable to screen

* Extract viewmodel

* Make screen model independent

* Use only primitive types in screen

* Introduce uiState class and switch to compose state where easy

* Switch remaining live data to compose state

* Add kdoc

* Add scrolling, adapt buttons to M3

* Move Intent logic to Activity

- create/handle Intent in Activity (may be replaced by NavGraph in future)
- Activity: pass unpacked initial data to Screen
- Screen: use hiltViewModel (adds hilt-navigation-compose dependency) to
  create model with initial data
- Screen: use Column instead of LazyColumn

* Fix test

* Optimize imports

* Minor changes

* Move AppTheme, fix showDebugInfo

* View instead of share logs; make local/remote resource smaller; make remote resource selectable

* Leave space for scrolling down past the FAB; don't show "Local resource: null"

* Re-order composables

---------

Co-authored-by: Ricki Hirner <hirner@bitfire.at>
2024-05-15 16:43:23 +02:00
..
schemas/at.bitfire.davdroid.db.AppDatabase Detect WebDAV-Push support (#716) 2024-04-09 17:31:02 +02:00
src Rewrite DebugInfoActivity to M3 (#744) 2024-05-15 16:43:23 +02:00
.gitignore Minor code tweaks (by lint) 2014-12-21 11:24:00 +01:00
build.gradle.kts Version bump to 4.3.17-alpha.4 2024-05-09 21:28:38 +02:00
lint.xml Version 0.7 2015-03-12 18:25:09 +01:00
proguard-rules-release.pro Fix ProGuard rules 2024-03-24 21:45:44 +01:00