StanfordSpezi / SpeziKt

Kotlin & Android Version of the Stanford Spezi Framework
http://spezi.health/SpeziKt/
MIT License
7 stars 1 forks source link

Handle Loading States and Errors #39

Open PSchmiedmayer opened 4 weeks ago

PSchmiedmayer commented 4 weeks ago

Problem

In the current state of the application, pressing a button (e.g. login, sign up, ...) does not indicate a loading state and does not communicate progress within the application to the user.

Solution

We should have a reusable button + state management system (e.g. AsyncButton + ViewState + ViewState Alert in Swift) that is easily reusable across multiple composable views and handles state management + error displays in a uniform way.

Additional context

No response

Code of Conduct