Jetpack Compose Navigation | HILT | View Model | SavedStateHandle | CheezyCode Hindi

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 38

  • @MayureshKarekar
    @MayureshKarekar 11 месяцев назад +4

    Hey Cheesy, Please make a video on CICD for deployment of app to Firebase App Distribution and Play Console ✌

  • @salmanjawed98
    @salmanjawed98 Год назад +1

    1 suggestion. We can also hoist viewmodel and use a separate composable which only renders view state to help with previews 😊

  • @salmanjawed98
    @salmanjawed98 Год назад

    Amazing video and helps understand some tricky areas

  • @rishikeshsingh9946
    @rishikeshsingh9946 Год назад +1

    Continue watching 🎉🎉❤Thanku sir

  • @samirgawas
    @samirgawas Год назад +2

    Thank you @cheezyCode for this playlist❤. Are any more videos coming to this playlist?

  • @sainathhiwale4934
    @sainathhiwale4934 2 месяца назад +2

    Hi Cheezy, Could you please make some videos on CI/CD Pipeline to deploy the app on Firebase or Play Store Console?

  • @naskar23
    @naskar23 3 месяца назад

    Thank you @cheezyCode for this playlist. I have one question on this.
    Lets say i show title on CategoryList page , how do i change it to show the selected category on Details page?
    This is how i did it for title
    setContent {
    Box(
    modifier = Modifier
    .fillMaxSize()
    .background(color = Color.Black)
    ) {
    Column(horizontalAlignment = Alignment.CenterHorizontally) {
    Text(
    text = "Tweetsy Categories", fontSize = 22.sp,
    color = Color.White,
    modifier = Modifier.padding(16.dp),
    style = MaterialTheme.typography.body1
    )
    App()
    }
    }
    }

  • @rizwanhashmi4116
    @rizwanhashmi4116 11 месяцев назад

    Awesome 🤗

  • @pushprajsingh595
    @pushprajsingh595 Год назад

    Your tutorials are amazing 🎉, can you please use dark theme for ide it's really painful to see light colours on code. Thanks in advance

  • @cocktailpatil5012
    @cocktailpatil5012 Год назад +1

    Can we pass DataClass Object/HashMap/ as an argument?

  • @СергейБеляков-д5в
    @СергейБеляков-д5в 11 месяцев назад

    Please tell me, what are the sources of the example on github? I am interested in how to properly inject and mark repository / interactor so that they can be injected

  • @HardikPatel-iw7ju
    @HardikPatel-iw7ju 4 месяца назад

    Hey Cheesy, How can we pass the custom object as navigation param?

  • @kishorramani007
    @kishorramani007 Год назад

    hi Jatinbhai,
    mere me lamda vala "it" and other suggestion nahi aa rahe hai android studio me, might be setting change ho gayi ho.
    setting enable karne ka koi idea ho to batao.

  • @sukhwantsingh501
    @sukhwantsingh501 Год назад

    What if we want to add viewpager in the screen with different fragments in compose.

  • @m.arslankhan7449
    @m.arslankhan7449 3 месяца назад

    Amazing

    • @jintumonisingha8717
      @jintumonisingha8717 2 месяца назад

      Hey at 5:18 how is this on click working can someone explain I'm new to android

  • @mandeepbhalothia7626
    @mandeepbhalothia7626 Год назад +1

    We should be able to create the viewmodel instance in a composable without hilt. May be need to dig more of what happened

    • @CheezyCode
      @CheezyCode  Год назад

      In the previous video, viewmodel was created without HILT - you can refer that video

  • @jintumonisingha8717
    @jintumonisingha8717 2 месяца назад

    Hey at 4:51 how is this on click working can someone explain I'm new to android

  • @VishalRana-x5l
    @VishalRana-x5l Год назад

    I think we can also pass data in DetailsScreen like this DetailsScreen(category) and in DetailsScreen function we call viewModel.fetcheCategoryTweets(category). This approach we can also right??

    • @mayanksinghal6674
      @mayanksinghal6674 10 месяцев назад

      that would not be saved during configuration change

  • @ManinderKumar-x1d
    @ManinderKumar-x1d Год назад

    Please provide this code with Effect Handlers jetpack compose.

  • @salmanjawed98
    @salmanjawed98 Год назад

    Can you share repository for this code?

  • @sandipmedhe1201
    @sandipmedhe1201 Год назад

    Hello Sir
    Sometimes what what happenes when we make call of service it gets call two or three times in compose I don't know why it happens and how to stop doing that.
    So could you please make a video on best practices to avoid that recomposition?

    • @CheezyCode
      @CheezyCode  Год назад +2

      Effect Handlers is the way to solve this issue

  • @joelposhapir3737
    @joelposhapir3737 Год назад

    After completing app plzz provide source code...

  • @mehmettekin9142
    @mehmettekin9142 Год назад

    Why not in English language ?

    • @priyamprakash1209
      @priyamprakash1209 3 месяца назад

      There are tons of videos in English and Hindi is untouched

  • @rishabhsaraswat1928
    @rishabhsaraswat1928 Год назад

    you are doing it the wrong way. according to compose documentation, composable function must never know about viewmodels and you must always pass the info as parameter and handle the updates. you coult also assign an id to each item in grid to make recomposition better

    • @CheezyCode
      @CheezyCode  Год назад

      Top level composables need access

    • @rishabhsaraswat1928
      @rishabhsaraswat1928 Год назад

      So it must be provided via parameters. Yes I know that it becomes very hectic but I one of Google's sample they did this. In Google summit they said that compose must be as independent as possible. For testing, passing a string is better than passing a viewmodel.
      If you are following that approach get viewmodel from parameters so that it's not initialised on every recomposition

    • @CheezyCode
      @CheezyCode  Год назад

      Viewmodel stays for the lifetime based on the scope...it won't be reinitialised

    • @mayanksinghal6674
      @mayanksinghal6674 10 месяцев назад

      @@rishabhsaraswat1928 please share the google's sample link