Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default initial index based on user status #2102

Open
BabarBobtail opened this issue Dec 3, 2024 · 2 comments · May be fixed by #2134
Open

Set default initial index based on user status #2102

BabarBobtail opened this issue Dec 3, 2024 · 2 comments · May be fixed by #2134

Comments

@BabarBobtail
Copy link

I am using AutoTabsRouter in my app there are 3 tabs Home, Announcement, Profile.
Routes= [HomeRoute(), AnnouncementRoute(), ProfileRoute()]

I want to set the index at run time based on user status
if user status == make-announcement then user should land to Announcement tab, and if it is status == processing then should land to Home tab.

There should be some initialIndex property.

@BabarBobtail
Copy link
Author

any response?

@bigfingerSon
Copy link

I have same question, do you resolve it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants