Othman El Jazouli
12/09/2022, 5:09 PMIan Lake
12/09/2022, 5:23 PMOthman El Jazouli
12/09/2022, 6:19 PMCasey Brooks
12/09/2022, 6:42 PMStateFlow
.
That’s kind-of the whole point of Repository layer, that it is a place where data is stored, but the actual storage mechanism is an implementation detail. It’s not simply a wrapper over your local databaseCasey Brooks
12/09/2022, 6:49 PMStateFlow
. And the same idea can hold with much of the data that would be shared throughout your application, without necessarily needing to cache it in a local DBFrancesc
12/09/2022, 7:28 PMOthman El Jazouli
12/09/2022, 7:32 PMFrancesc
12/09/2022, 7:33 PMFrancesc
12/09/2022, 7:34 PMCasey Brooks
12/09/2022, 7:35 PMIan Lake
12/09/2022, 7:35 PMIan Lake
12/09/2022, 7:37 PMFrancesc
12/09/2022, 7:38 PMFrancesc
12/09/2022, 7:39 PMCasey Brooks
12/09/2022, 7:40 PMSavedStateHandle
, for exampleOthman El Jazouli
12/09/2022, 7:40 PMCasey Brooks
12/09/2022, 7:41 PMIan Lake
12/09/2022, 7:42 PMOthman El Jazouli
12/09/2022, 7:42 PMOthman El Jazouli
12/09/2022, 7:42 PMIan Lake
12/09/2022, 7:43 PMTell us what your data looks like, what the source of truth of your data is, who loads it, who needs to read it, etc.
Othman El Jazouli
12/09/2022, 7:50 PMCoin
, and they can be either Fiat
or Crypto
- there are multiple api calls to construct them
our usecase call doesn’t know about any of those, it just expects a list of Coin
in compose we list them all and you can tap on a Fiat
to view some things
there are many modules involved, including one with a core compose navigation, from my current module that shows the list, I have to pass that Fiat
object up to the compose navigation, and send it through to open a different screenOthman El Jazouli
12/09/2022, 7:50 PMIan Lake
12/09/2022, 8:10 PMOthman El Jazouli
12/09/2022, 8:12 PMOthman El Jazouli
12/09/2022, 8:13 PMIan Lake
12/09/2022, 8:14 PMOthman El Jazouli
12/09/2022, 8:15 PMOthman El Jazouli
12/09/2022, 8:15 PMIan Lake
12/09/2022, 8:18 PMOthman El Jazouli
12/09/2022, 8:18 PMOthman El Jazouli
12/09/2022, 8:19 PMOthman El Jazouli
12/09/2022, 8:19 PMIan Lake
12/09/2022, 8:20 PMOthman El Jazouli
12/09/2022, 8:21 PMIan Lake
12/09/2022, 8:23 PMIan Lake
12/09/2022, 8:23 PMOthman El Jazouli
12/09/2022, 8:24 PMOthman El Jazouli
12/09/2022, 8:25 PMCasey Brooks
12/09/2022, 8:30 PMPablichjenkov
12/09/2022, 10:18 PMIan Lake
12/09/2022, 10:40 PMCasey Brooks
12/09/2022, 10:47 PMSavedStateHandle
, etc.Pablichjenkov
12/10/2022, 1:30 AM