My domainranking work

navigation components to hookup a couple of fragments to specific one

2022-09-13 user_9165168999 194 Member

I have an app, which consist of a couple of fragments. Most of them, are using data from database to perform API call. One of the fragments, display just a single spinner, which contains currency names inside it. Whenever user will click on any of the rows of the spinner, the base currency will be changed.

Whenever user want to change the base currency, he can click an icon on toolbar. After moving from some fragment, into the one who can change the base currency, I'd like to after selecting some currency from spinner, just to return to previous using fragment.

I'd like to ask, if using the Nagivatioln Components such as graph, host etc, are good way to approch it? Because whenever I will hookup all fragments to that which changing base currency, how does my app would know which fragment will be called?

more details




Leave a comment:

Rakshit Tanti 2022-09-13

You can definitely use the nav graph. Whenever you will hookup all fragments to that which changing base currency you need to use the action for each connection and give it some identifier that you will be able to use it in your code. You can use back navigation to go back to the previous fragment. You can also have a common action in the root that you can use in all your fragments.

monitize your website

Monitize your website, blogs support multiple banners. No minimum withdrawal direct to faucetpay wallet account ♥️♥️

Monitize now »
SUGGESTIONS
[1,765] Web rank 1032 Page 1032
[653] Bakuto Dochers SNES
[816] Kung Fu Madness Street Battle Attack Fighting Game v1.0
[4,163] Web rank 652 Page 652
[695] Musixmatch – Lyrics & Music ver [7.9.2]
[5,869] Web rank 1970 Page 1970
[5,317] Top domain list in 2022 - Part 67
[901] Web rank 1397 Page 1397
[543] Web rank 1353 Page 1353
[917] Luthiel v1.0.41949
[593] MU Origin v1.9.2
[1,751] AIDE- IDE Java MOD APK Premium Download
[537] Neon Shadow v1.38
[757] Tap Tycoon v2.0.3
[795] One Piece tagalog version full video ep523 - ep615
[4,969] Web rank 568 Page 568
[682] Anime V1.5 (PD) SNES
[866] Love Live v7.1.0
[2,910] Web rank 781 Page 781
[767] DC Legends v1.13.1
[3,269] Web rank 628 Page 628
[833] auth0.com Info
[929] About yahoo.co.jp
[725] Lemon Bitcoin Faucet
[5,983] Web rank 1436 Page 1436
Angry Birds
NeoWars
Always On AMOLED
APKTool
ES File Explorer
FIE Swordplay
bling
Shield of Kingdoms
Spotify Music
Crypto

Create a free post to our website any type except for illegal content

Create new Post






Create with ♥️ by mydomainranking.work 2022


| | | | |