But there is a problem with @Mika method blocks ( in function ).
It deletes data of a screen.
I mean if I load data from airtable or other and use in screen and use your method to open screen then the data will be deleted and I have to load data again. That is the main problem.
I do not know why to use this method because I use ’ open another screen block ’ and it works fine for me.Everything is correct.No error occurs.
Unable to add window -- token android.os.BinderProxy@45d459c0 is not valid; is your activity running?
This error also when not opening other screen and I fixed this error in my app by cleaning up some blocks and re-using all blocks.
That will only increase app storage if I store and if I delete data after process then I have to use more blocks.
I am thinking why this method exists I mean for what problem.
Of course sometimes ( I experienced ) an error dialog shows when switching between screens.
But I have to say that it also occurs when using too many blocks and duplicate blocks ( I am not confirm ).
But I used a list view to show option instead of using buttons ( for me it is better way ) and same error shows.
So I thought so many times and solved problem.