Tab layout backpress

I made a three sections of my screen with the help of tab layout…

Tab start from index 1, when i goto tab3 section where a Click some button an go to other screen. But when i backpress it’s show tab1 instead of tab3.

How to perform specific backpress action in tab layout?

Can I used TinyDB just like in virtual screen?

Thanks

1 Like

Yeah you can use tinydb for this …

i tried but i’cant uderstand how.
can you share blocks