How do I get my tab bar user button to send logged in user data to the profile screen?
When I click on current user icon (via home>current post) it sends current users data to the profile screen; however, no data gets sent by clicking the icon in the tab bar.
I know a (users>logged in user) list from a float menu can do this but I want the tab button to also do this.
Not sure how your app is set up, but I can expect that âCurrent userâ data is available inside the list on the screen, but not on the screen itself.
Did you check if âCurrent Userâ is available on the screen? If not, then there is no direct way to make tab bar icon send this data to another screen (of course you can make custom tab bar with a single item list )
So as I can conclude, the âCurrent userâ is NOT available on Home screen itself; it is available in the list of posts, which, in turn, contain posting userâs avatar. Thatâs the reason Home screen tab bar icon canât transfer âCurrent userâ to another screen.
Having 2 profile screens sounds like a feasible solution - as there is a possibility that different data needs to be displayed.