In addition I currently have two interfaces. The first interface has some data, which I have to send when navigating to the next interface. But navigation seems to be unable to pass the object, is my following method correct? If not, what should be the best practice?
, which consists of many classes nesting, what should I do?
i
Ian Lake
03/23/2021, 1:36 AM
As per the thread I linked to, you should not ever use arguments as the source of truth. Your repository/cache should be the source of truth. Remember there's process death and recreation, config changes, etc. that means you can't rely on those objects existing for the lifetime of your destination
c
Chachako
03/23/2021, 9:24 AM
@Ian Lake Okay, but what should I do? I open the next screen from the last screen, and I need to know some information about the last screen in the next screen. I am currently doing a simple transition animation, and I need coordinate information of some widgets in the last screen