James O'Claire
09/18/2023, 2:15 AMPiotr Prus
09/18/2023, 5:07 AMJames O'Claire
09/18/2023, 7:39 AMPiotr Prus
09/18/2023, 9:23 AMfor science
? 🙂James O'Claire
09/19/2023, 8:28 AMbbade_
09/19/2023, 9:10 PMContentProvider
, which would probably be more memory efficient, but would not work across work profiles - probably not a big deal in this case if its a personal project, but potentially less ideal if released.
Sizing would be an issue as well. Accessibility suggests that buttons be a minimum of 48x48dp,
You'd probably want to implement it using a unidirectional data flow pattern like MVI, such that clicks are sent to a reducer that handles game logic, which then emits a new state that gets persisted, and then your glance layer, watching the repository, triggers recomposition to emit a new state.James O'Claire
09/21/2023, 2:53 AM