07/20/2022, 3:01 PM
how many times can we call composable function in jetpack compose I need advice if I can do that or not in compose. Suppose I have A screen. Inside that I have Button. When I click on it, I am calling a api and getting the data. In this whole process I am passing UI state event i.e. IsLoading, OnSuccess and OnError. So when I press the Button the IsLoading is trigger and when I get data without any problem, I trigger OnSuccess with data. So question is When IsLoading happening I want to called A screen -> B Screen. Note:- we are standing on B screen When...