sunflower icon indicating copy to clipboard operation
sunflower copied to clipboard

add ui state in view models for Compose

Open qamarelsafadi opened this issue 1 year ago • 2 comments

In Gallery Screen, I believe that the screen would have a 3 states

The first one is when the request is already successful and the data is showing,

Second, when the data is loading we might have to show a loader to tell the user that the data is on its way to be shown

The third one is if the request has failed we need to let the user know that there is something wrong with the API or his internet connection.

Part of GTC open source initiative

qamarelsafadi avatar Jun 19 '23 19:06 qamarelsafadi

Please add more details in the description on why this should be done. I'm not convinced this is a necessary change.

arriolac avatar Jun 26 '23 20:06 arriolac

Done,

Let me know what do you think.

qamarelsafadi avatar Jun 28 '23 13:06 qamarelsafadi