Hey guys, I need advice if I can do that or not in...
# compose
v
Hey guys, 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 I am calling api and getting 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 1. When
IsLoading
happening I want to called
A
screen ->
B
Screen. Note:- we are standing on
B
screen 2. When I get
OnSuccess
with data,
A
screen pass to
B
Screen again. Is it possible to do that through navigation compose or something else?