How to Implement a Custom Swipe to Reveal in Jetpack Compose

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ย. 2024
  • In this video you will learn how you can implement a swipe-to-reveal effect for composables inside a LazyColumn.
    ⭐ Courses with real-life practices
    ⭐ Save countless hours of time
    ⭐ 100% money back guarantee for 30 days
    ⭐ Become a professional Android developer now:
    pl-coding.com/...
    💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
    pl-coding.com/...
    Get my FREE PDF about 20 things you should never do in Jetpack Compose:
    pl-coding.com/...
    Regular programming advice on my Instagram page:
    / _philipplackner_
    Join my Discord server:
    / discord
    Get the source code for this video on GitHub:
    github.com/phi...

ความคิดเห็น • 19

  • @esekaemmanuel7295
    @esekaemmanuel7295 วันที่ผ่านมา

    You finally did it, its like you read my mind. I literally just needed this

    • @Alchemist10241
      @Alchemist10241 20 ชั่วโมงที่ผ่านมา +1

      I needed this functionality too. but it is a bit late for me. I've already implemented a similar functionality, I have used Anchor Draggable api in my project and it's a mess. Phillip's approach is much cleaner and easy to implement.

  • @비밀입니다아
    @비밀입니다아 วันที่ผ่านมา +1

    Thank you!!!

  • @pplevar
    @pplevar วันที่ผ่านมา +5

    There is some bug at the delete action. You're deleted Contact 6 and after that trying to delete Contact 7, but when you swipe it, name changed to Contact 6 and Toast showing "Contact 6 deleted".

    • @D0CTOR-ZED
      @D0CTOR-ZED วันที่ผ่านมา

      If you remove the sixth item from a list, what was the seventh becomes the sixth. In an actual use for this, you would presumably display something specific to the item in the list and not just its position on the list.

    • @pplevar
      @pplevar วันที่ผ่านมา +1

      @@D0CTOR-ZED Just look the video after 22 min. For example Contact 18 becomes Contact 12 and it's not because index was changed after deletion

    • @formatBCE
      @formatBCE วันที่ผ่านมา

      Came here to say this. IDs are all over the place, even dragging reveals different ID there. Like Contact 16 -> drag it -> it becomes Contact 12.

  • @FebinAugustine
    @FebinAugustine วันที่ผ่านมา +1

    Hi Philipp, can you do a video on how to use appwrite with Android...!! As as a open source baas , I believe it is a good option for backend.

  • @andreduarteleite5230
    @andreduarteleite5230 วันที่ผ่านมา +1

    Hey Philipp, thanks again for your videos and tutorials, they ROCK!
    And one more thing! Really appreciate it when you put your "errors" and "mistakes" in your videos, instead of just jumping with the perfect solution, sometimes the errors that you get help us understand other similar errors that could happen in our projects! Keep it up with the great and honest work! 😄

  • @mohamedzahar7877
    @mohamedzahar7877 วันที่ผ่านมา

    Thanks for these amazing tutorials
    By the way, what's the name of the font you use in your editor?

  • @babayaymen8893
    @babayaymen8893 วันที่ผ่านมา

    Hi Philip, you're my only jetpack compose source 😅, plz i have implemented sockJs with spring boot and i want to consume that with jetpack compose, could you please help me

  • @brgame8
    @brgame8 วันที่ผ่านมา

    is this custom swipe possible to implement the custom pull to refresh that in screen only has box container, or constrain layout container, or any container that didn't have pull to refresh option

  • @esekaemmanuel7295
    @esekaemmanuel7295 วันที่ผ่านมา

    at 14:13, the animateTo() funcs in the launched effect block should be in the coroutine scope

  • @skarloti
    @skarloti วันที่ผ่านมา +1

    What you think about
    AnchoredDraggableState?

    • @kuatprintyards
      @kuatprintyards วันที่ผ่านมา

      AnchoredDraggableState is super buggy right now. I'd avoid it for now until it's no longer experimental.

  • @frankleth9380
    @frankleth9380 7 ชั่วโมงที่ผ่านมา

    Hey Philipp, it is good to see you again. I always enjouy your professional videos

  • @BashPSK
    @BashPSK 8 ชั่วโมงที่ผ่านมา

    M3 slider got weird update 😮😮😮

  • @softwaredeveloper4882
    @softwaredeveloper4882 วันที่ผ่านมา

    When will we have hot reload like flutter?

  • @mfaizhussain7
    @mfaizhussain7 19 ชั่วโมงที่ผ่านมา

    Want a Video of Compose themeing
    and how to set the default theme as our custom theme for every project