Комментарии:
Helpful as always, Thanks!
ОтветитьNice. Very clear 🙂
Ответитьyour english so fast, please make it slow
ОтветитьIn my current organization we use Singletons inside Repository to share users login data between different viewmodels, and they never experience any issue with that. I still don't understand why are you saying to avoid using Singleton classes to share data between. It is usuful when we need to access user's details in different pages.
Ответитьhow to properly share with activity please tell me
Ответитьwhat about Preferences DataStore?
ОтветитьHi Phillip,
Can we have shared viewmodel and individual viewmodel for on one onboarding screen composable at same time?
In SharedViewModel approach, how can I reset the viewModel once I leave "personal_details" route?, it's always loading previous data onceI got back into it again.
ОтветитьI'm sharing a viewModel between a regular composable and a sheet, but the UI doesn't update when I change the sharedState in the viewModel from the sheet. How can I make it recompose when the value in the viewModel is updated?
ОтветитьHey Philipp , what about using compose destinations ?
ОтветитьIn what order shall we take all your courses?!
ОтветитьI like using raamcosta destinations for compose, it really makes things easy. It alow passing data between @Composable's, but after this I can initialize my ViewModel with the value.
ОтветитьHi Philipp, I have a question about docker. Do we (android dev) need to learn docker or it just nice to know
ОтветитьIt seems to me that data binding in xml layout projects is easy, but it more hell then compose
ОтветитьHow to send parcelable object to start destination
ОтветитьIt is great that put the source code of the video. thanks
ОтветитьThanks
ОтветитьAnother "con" of using navigation arg is that you need to make sure the string is URL encoded. I said con with quotes because you can handle this pretty easily, but sometimes you forget to do that and can spend significant of time to find out why something isn't working as expected.
ОтветитьAnother "con" of using navigation arg is that you need to make sure the string is URL encoded. I said con with quotes because you can handle this pretty easily, but sometimes you forget to do that and can spend significant of time to find out why something isn't working as expected.
ОтветитьPlease make video on Oauth2 Authentication with Webview using Jetpack compose
How the CallBackUrl retrieved from the api and retrieve access token to make api calls.
I am using hilt view model with compose destinations, pretty neat
ОтветитьIm still hard to understand navigation in compose :(
ОтветитьCan we share complex object data without using SharedViewModel ?
ОтветитьOn the last option is using sqDelight a choice for Kotlin Multiplatform Mobile?
ОтветитьHi Philipp, first thank you for the great tutorials.I have a question if you have time?
In the last (persistent storage) example, if we want to clear the session every time the application is closed / destroyed, but we want the session to persist through the lifetime of the app, where is the appropriate place to clear it? Isn't onDestroy() called sometimes during process death?
Thank you again!
Hi Philipp. Very helpful video as always. I have a question: why are you using shared preferences instead of data store?
ОтветитьWhen you try jetpack compose multiplataform ?
Ответитьdoes passed intent arguments survive process death?
ОтветитьI really love the way you demonstrate thing ♥
but I think you should add the video to the compose playlist so we can find it easily
I wish there was a better way of writing jetpack navigation better :\
anyway thank you for this lovely guide.
is there a difference between @Singleton and object in kotlin?
Where is settings to show option for Terminate Application?
ОтветитьHow to restore state of FirstScreen if we click on Back btn at SecondScreen?
ОтветитьHow to pass data to the previous screen
Eg: I have two screen first screen is to show the list of some items from database and second screen is used to create an item. When I create an item from the second screen I want close that screen and show the updated list in the first screen
how can I pass nullable value? for example, I need to pass Long (as LocalDateTime), and sometime this value can be nullable. If I pass null for that value, my application is crashing, because it's an exception about wrong navigation, can't find route
ОтветитьOne question, why do we have to redeclare a new mutable state in viewmodel and assign it to original stateflow. Is there any issue if create a stateflow in viewmodel and directly access it from composables? As long as i make sure that i am not writing anything to the state, is it fine?
Ref: private val val sharedState = MutableStateFlow( value: 0)
sharedState = _sharedState.asStateFlow)
Thanks
ОтветитьThanks for sharing your knowledge 👍. As a beginner, I always used the first option to pass parameters between views. Now I can start testing different ways 😄
ОтветитьHi Philipp, love your videos. I have a question here, in your few previous videos you use raamcosta library as a navigation tool and lately I've seen you stop using it and I saw it also seems to provide an easy way to share data since it can share reference data. What disadvantage you discovered that made you stop using it?
ОтветитьHello Mr.Pilipp
Could you make an app with multi-module and navigation, and the app consists of two types of user.
Thanks a lot 🤍
How can we make favorite item to database and when colse app and run it again the fav button will be active based on database ?
ОтветитьThat's exactly what I needed! Thanks a lot
ОтветитьHow can we share a value between main activity and a compose secreen in a different feature module..value is defined in main acitivity and i want to get it from the composable
ОтветитьI use bundle
Ответить🎉
Ответить