LazyColumn - Forget about RecyclerView Adapter - Jetpack Compose

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • 🏆 My Online Courses
    ⭐Discount Coupon: LAUNCH-STEVDZA-SAN
    stevdza-san.com
    🐱‍👤 Wanna become a member? Join!
    / @stevdzasan
    📸 Instagram
    / stevdza_san
    In this video I'm going to show you how to use a LazyColumn which is a New Way of Displaying Large Lists in your Android Application. ONLY WITH FEW LINES OF CODE! Watch the video to learn more about it! :)
    💻 Source code:
    github.com/stevdza-san/LazyCo...
    ⌚Timestamps
    0:00 - Introduction
    0:58 - Project Overview
    2:11 - Display Data in LazyColumn
    4:06 - Content Padding
    5:30 - itemsIndexed
    7:07 - Sticky Header
    9:59 - Conclusion

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

  • @manishprajapati8544
    @manishprajapati8544 Год назад +10

    Oh my god where this playlist was hiding this is better than paid courses loving it thank you.

  • @voidpointer398
    @voidpointer398 2 года назад +1

    The way you say *okay* is just wonderful

  • @gamesforu6619
    @gamesforu6619 2 года назад

    Really I was searching for this tutorial for a long time, thank you for this gift 👍

  • @easybusinessou
    @easybusinessou 2 года назад

    You are No1 teacher, please explain how implement pagging and load more, for big data

  • @GriNAME
    @GriNAME 3 года назад +3

    It's amazing! 😍

  • @matiyelicich
    @matiyelicich 2 года назад +1

    I love your videos of Jetpack Compose😍😍

  • @shibbuvlogs5195
    @shibbuvlogs5195 2 года назад

    You are providing great quality content, 🙏🙏

  • @costube9574
    @costube9574 2 года назад +1

    Great content. Thanks. One suggestion :- Please increase the font size of code in your android studio or crop and zoom the video. Please please please. Some viewers (like me) watch your tutorials using phone 😢

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

    This is the best channel for jetpack Compose

  • @corrector7405
    @corrector7405 2 года назад

    Those sticky headers make it easier. Amazing !

    • @StevdzaSan
      @StevdzaSan  2 года назад

      Yeah, we've all been waiting for that 👌

  • @sikkicoding
    @sikkicoding 2 года назад

    Nice to see you and thank you

  • @hadjsaidaoumer3058
    @hadjsaidaoumer3058 6 месяцев назад +1

    Thank yooooooooooou the best one 👌👌👌👌👌👌👌👌👌👌

  • @tommy9x
    @tommy9x 2 года назад

    Clearly structured example for Lazycolumn

    • @StevdzaSan
      @StevdzaSan  2 года назад +1

      Thank you, I'm glad to help 🙌

  • @brky.kurtoglu
    @brky.kurtoglu 3 года назад +1

    Man! Thanks, your work is amazing 👌👌
    We also want to see an complete app developed with Compose from you 🤙🤙

    • @StevdzaSan
      @StevdzaSan  3 года назад +6

      I'm preparing a course for that 🙃👍

    • @ayushverma2166
      @ayushverma2166 3 года назад +1

      Yes we would like to see it ASAP

  • @ronigraphicart
    @ronigraphicart 3 года назад

    I love your work.

  • @maherhanna2432
    @maherhanna2432 2 года назад

    Thank very much your videos are amazing

  • @rahathossainhimel7177
    @rahathossainhimel7177 3 года назад

    I was waiting for this video after your story.

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

    helpful video, thank you

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

    Thank you, sir.

  • @matiasgonzalez1904
    @matiasgonzalez1904 2 года назад

    Great vídeo as always! Please put subtitles in next videos, thanks

  • @hissabis2068
    @hissabis2068 2 года назад +1

    Thank you

  • @techienomadiso8970
    @techienomadiso8970 2 года назад

    You are great 👍

  • @j.almadhaji
    @j.almadhaji 2 года назад

    you revealed your face 🖐
    nice to see you .. you are my best android teacher on youtube.

  • @amineayachi335
    @amineayachi335 2 года назад

    thanks man

  • @lara-kp7lp
    @lara-kp7lp Год назад

    Tnx

  • @komiljonturayev7013
    @komiljonturayev7013 2 года назад

    Hi Bro. Thank you for all.

  • @WMPD39
    @WMPD39 3 года назад +1

    Thus, adapters was dispensed with 😯😯🤩

  • @marc988
    @marc988 2 года назад

    HOW can we use an ".xml" items (from our layout resources) and insert them between the sticky headers too ? ( instead of text written from the main activity)

  • @somdatatechnology233
    @somdatatechnology233 3 года назад +1

    your tutorial is amazing.
    how can I do with volley library?

  • @xSyR1N3x
    @xSyR1N3x 3 года назад +6

    Would love to see a tutorial on how to load data from API using coroutine in view model and then updating the UI. I'm lost :D

    • @StevdzaSan
      @StevdzaSan  3 года назад +5

      I have one course for that, my Food Recipes app which is using an API to retrieve data from the server along with offline caching. Check it out. 👍

  • @AndrewDChristie
    @AndrewDChristie 2 года назад

    Thanks!

  • @user-vy6kj5qg3k
    @user-vy6kj5qg3k 2 года назад

    Hello , is there any way to show the latest item at top in lazy column by default new item takes place at bottom of all the items

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

    That outro music is sick

  • @randy4443
    @randy4443 2 года назад +1

    Can you do more with removing and adding items?

  • @johnkennethbombane4277
    @johnkennethbombane4277 3 года назад

    This is very helpful. But can you make your tutorials in mvvc way?

  • @devvio3826
    @devvio3826 2 года назад

    Nice

  • @BhargawananBhuyan
    @BhargawananBhuyan 3 года назад

    Please provide a tutorial of input field popup just like in the RUclips comment input field. I can't find a way to do it.

  • @bhanuprakashtr2542
    @bhanuprakashtr2542 2 года назад

    Hi Stevdza, I am working on android tv. Does jetpack compose support dpad events for android tv. if yes, Could you please make some vertical and grid layout videos for android tv. I have searched the internet no one has published jetpack compose related to android tv articles. if you're able to do it it is really appreciatable

  • @Ali-hx4yi
    @Ali-hx4yi 3 года назад

    Good, Please create a video about paging in jetpack compose.

  • @peterfraga4023
    @peterfraga4023 2 года назад

    My IDE has an issue with fontSize = Topography..fontSize (any h5 call... I tried find out wher eit is so I can call that library or see what I can do but no luck I get an error...

  • @deepeshkumar1704
    @deepeshkumar1704 4 месяца назад

    How can i put new list, and what if that have duplicate item?
    Overall, what is alternative of List Adapter

  • @r4jjin
    @r4jjin 3 года назад +2

    sticky headers looks so easy (:

  • @shahriarzaman4715
    @shahriarzaman4715 2 года назад

    How can I get multiple column in LazyColumn?

  • @attamuhammad68
    @attamuhammad68 9 месяцев назад

    Sir Sticky Header is Amazing very beautifull i see this thing in many apps but in xml it is impossible.Now in compose i can do due to your Play list 🥰

  • @diatm1506
    @diatm1506 5 месяцев назад

    I replaced the repository with a service and the model with dto. Broke the view into components and elements

  • @ervalsadwinanda6374
    @ervalsadwinanda6374 2 года назад

    Finally see your face :)

  • @ultimat.
    @ultimat. 2 года назад

    Pourquoi en kotlin et pas la même chose en java et utilisation d'images serait bien aussi en local dans dossier drawable .kotlin apporte des avantages ou pas par rapport à java merci merci pour votre temps . Donc moi je suis preneur de ce tuto mais avec mes demandes.

  • @erickgerardocalderonreyes4446
    @erickgerardocalderonreyes4446 2 года назад

    Where can i see the composeapptheme?

  • @christosbazios52
    @christosbazios52 6 месяцев назад

    And what about onclick element event?

  • @kishorsuryawanshi2851
    @kishorsuryawanshi2851 2 года назад

    We can use multiple key we have to pass arrayof key

  • @h.r.60
    @h.r.60 3 года назад +1

    😁😁😁👌👌👌

  • @AbdulelahAGR
    @AbdulelahAGR 2 года назад +1

    Great video, but I read that this doesn't recycle views so with large lists it might impact performance? Can you compare both with memory usage with large lists?
    Both Recyclerview and lazy columns render only visible items. So I wonder which one has better performance

    • @StevdzaSan
      @StevdzaSan  2 года назад

      Yes they both render only visible items, so it's basically the same thing, except with LazyColumn we don't have a boilerplate code.

    • @AbdulelahAGR
      @AbdulelahAGR 2 года назад

      @@StevdzaSan I see!, Thanks for your reply.

  • @muratcay3447
    @muratcay3447 2 года назад

    Why Subtitles are turned off

  • @fareshassan4242
    @fareshassan4242 2 года назад

    I understood the lesson, except the purpose of the 'key' attribute part.

  • @ackerman6992
    @ackerman6992 2 года назад +2

    As a beginner should i start with jetpack compose or xml?

    • @StevdzaSan
      @StevdzaSan  2 года назад +1

      You can go right away with Jetpack Compose, now it's stable 👌👍

  • @milon27
    @milon27 2 года назад

    what is the ram size for your computer to run smoothly android studio and emulator?
    i have 16gb still facing issue

    • @StevdzaSan
      @StevdzaSan  2 года назад

      I've already made a video: ruclips.net/video/2zna4UMt7qg/видео.html

  • @thepropellersitcenter4056
    @thepropellersitcenter4056 2 года назад

    Great work here, please can you do a tutorial on how to retrieve information from firebase and display using lazy column? Thanks in advance.

    • @StevdzaSan
      @StevdzaSan  2 года назад +2

      Thank you for your suggestion! 👍

    • @marc988
      @marc988 2 года назад

      I am looking for that too. Many people will probably want to know how to pass information from a database (like firebase or else) to the project using that lazy column

  • @devildevil873
    @devildevil873 2 года назад

    Sir I have one doubt I can't explain it by writing I have to send the screen recording so how can I contact u so that u can help me 😭😭🙏🙏🙏🙏plz help me sir bcz.. it's my project and I got stuck in this problem

  • @denisk3852
    @denisk3852 2 года назад

    Jetpack Compose does not support Home Screen widgets yet

  • @mark-of-live1662
    @mark-of-live1662 3 года назад +1

    Thank you for this tutorial 👍♥
    Can you make a video for a roadmap as an android studio developer, like what should i learn after android studio basics

    • @StevdzaSan
      @StevdzaSan  3 года назад +2

      Thank you for your suggestion, I'll certainly think about it. However the best roadmap is the one that you are making while working on your projects. 👍

  • @abada-s
    @abada-s 2 года назад +1

    Could you please make a video showing how to build searchView in topBar , using menu.xml file

    • @StevdzaSan
      @StevdzaSan  2 года назад +1

      I'll make a video about it in Jetpack Compose.

    • @abada-s
      @abada-s 2 года назад

      @@StevdzaSan thanks, I really appreciate it

    • @WasiMaster
      @WasiMaster 2 года назад

      ruclips.net/video/3oXBnM6fZj0/видео.html

  • @Mhung08
    @Mhung08 2 года назад

    Can you share for me the name of song at the end of video?
    anyway, thank for share the knowledge.

  • @kamalCode
    @kamalCode 3 года назад

    JetPack complete advanced tuotorial

  • @aminelhag
    @aminelhag 2 года назад

    Thank to You Stevdza-san ( ノ ゚ー゚)ノ Keep Going

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

    you look perfect tonight

  • @tomislavgodek17
    @tomislavgodek17 2 года назад

    Finally no more Adapters :D

  • @shg4242
    @shg4242 3 года назад

    Hey I love your work.
    Can you please make a video on receiving otp and then login.

    • @StevdzaSan
      @StevdzaSan  3 года назад +1

      Thanks ❤
      Not sure about that, but will definitely work on a new course about client-server communication with ktor in the future.

  • @Andy4Tune
    @Andy4Tune 2 года назад

    Can you create a room database with jetpack compose

    • @StevdzaSan
      @StevdzaSan  2 года назад +1

      I'm working on a course about building a To-Do app with Jetpack Compose right now.

    • @Andy4Tune
      @Andy4Tune 2 года назад

      @@StevdzaSan Great, if you could include some relations between tables that would be awesome. Thx

    • @StevdzaSan
      @StevdzaSan  2 года назад +1

      @@Andy4Tune I'll probably cover that in a video tutorial here on RUclips, somewhere in the future.

    • @paulvickers8059
      @paulvickers8059 2 года назад

      @@StevdzaSan something that's needed in real app, but there's not many do such tutorials, be great to see one with compose

  • @GriNAME
    @GriNAME 3 года назад

    BTW can you make discord server or telegram group for your community? Sometimes I need to disquse some question.

    • @StevdzaSan
      @StevdzaSan  3 года назад +1

      I have a private discord channel but only for premium members from my YT channel.

    • @GriNAME
      @GriNAME 3 года назад

      @@StevdzaSan got it!

  • @AbdullahAlMamun-to9zh
    @AbdullahAlMamun-to9zh 3 года назад

    Hey Sir! Where are from?

  • @christianalejandroflores8501
    @christianalejandroflores8501 3 года назад

    Amazing, but it's time for me to begin learning Kotlin

    • @StevdzaSan
      @StevdzaSan  3 года назад +1

      Yeah, you definitely do that 👌👍

  • @clo4k661
    @clo4k661 3 года назад

    Use a green screen

    • @StevdzaSan
      @StevdzaSan  3 года назад +1

      Thanks for your suggestion, however I like the natural ambient in my room better 🙃 However I may buy some lightning, so that you can see me even better on camera. 👍

  • @tanmoymazumdar9354
    @tanmoymazumdar9354 3 года назад +1

    So many changes in Android in just 1.5 year it's getting really hard to learn Android now as everyday something new is coming .How of you feels the same ?

    • @manhalrahman5785
      @manhalrahman5785 3 года назад +2

      Exactly...
      For a beginner, it is better to learn android development after a year or 2 from now...after Jetpack compose becomes a normal thing with online tutorials and industries...

    • @StevdzaSan
      @StevdzaSan  3 года назад +2

      Yes I agree, lot's of things are changing in the Android world. However if you love what you do, and you recognize that those new things are actually good for you and it will ease up your work as a developer, then you should be happy about it, in the long terms. 😊

  • @ericgacoki2225
    @ericgacoki2225 3 года назад +1

    What an embarrassment to RecyclerView 😂

  • @fareshassan4242
    @fareshassan4242 2 года назад

    Great video as always!
    Would you please put English subtitle in your videos, thanks

  • @devildevil873
    @devildevil873 2 года назад

    Sir I have one doubt I can't explain it by writing I have to send the screen recording so how can I contact u so that u can help me 😭😭🙏🙏🙏🙏plz help me sir bcz.. it's my project and I got stuck in this problem

  • @devildevil873
    @devildevil873 2 года назад

    Sir I have one doubt I can't explain it by writing I have to send the screen recording so how can I contact u so that u can help me 😭😭🙏🙏🙏🙏plz help me sir bcz.. it's my project and I got stuck in this problem