How to Implement a Custom Swipe to Reveal in Jetpack Compose

  Рет қаралды 4,207

Philipp Lackner

Philipp Lackner

Күн бұрын

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...

Пікірлер: 22
@pplevar
@pplevar 4 күн бұрын
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 4 күн бұрын
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 4 күн бұрын
@@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 4 күн бұрын
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.
@sachinpatil8154
@sachinpatil8154 2 күн бұрын
@@formatBCE let me know if you found solution for it
@babayaymen8893
@babayaymen8893 4 күн бұрын
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
@andreduarteleite5230
@andreduarteleite5230 4 күн бұрын
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! 😄
@FebinAugustine
@FebinAugustine 4 күн бұрын
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.
@sachinpatil8154
@sachinpatil8154 2 күн бұрын
anybody found a solution for the error coming at the end for list not working properly
@mfaizhussain7
@mfaizhussain7 4 күн бұрын
Want a Video of Compose themeing and how to set the default theme as our custom theme for every project
@frankleth9380
@frankleth9380 3 күн бұрын
Hey Philipp, it is good to see you again. I always enjouy your professional videos
@guyguy467
@guyguy467 Күн бұрын
Very nice. Thanks for sharing
@비밀입니다아
@비밀입니다아 4 күн бұрын
Thank you!!!
@BashPSK
@BashPSK 3 күн бұрын
M3 slider got weird update 😮😮😮
@softwaredeveloper4882
@softwaredeveloper4882 4 күн бұрын
When will we have hot reload like flutter?
@mohamedzahar7877
@mohamedzahar7877 4 күн бұрын
Thanks for these amazing tutorials By the way, what's the name of the font you use in your editor?
@skarloti
@skarloti 4 күн бұрын
What you think about AnchoredDraggableState?
@kuatprintyards
@kuatprintyards 4 күн бұрын
AnchoredDraggableState is super buggy right now. I'd avoid it for now until it's no longer experimental.
@brgame8
@brgame8 4 күн бұрын
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 4 күн бұрын
You finally did it, its like you read my mind. I literally just needed this
@Alchemist10241
@Alchemist10241 4 күн бұрын
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.
@esekaemmanuel7295
@esekaemmanuel7295 4 күн бұрын
at 14:13, the animateTo() funcs in the launched effect block should be in the coroutine scope
5 Kotlin Coroutine Secrets I Wish I Knew Earlier
24:23
Philipp Lackner
Рет қаралды 18 М.
LIFEHACK😳 Rate our backpacks 1-10 😜🔥🎒
00:13
Diana Belitskay
Рет қаралды 3,9 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 27 МЛН
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 1 МЛН
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 82 М.
Full Guide to Deep Linking With Type-Safe Jetpack Compose Navigation
27:14
Tips for handling timezones in Postgres
14:02
Aaron Francis
Рет қаралды 5 М.
The Free Way to Create Awesome PDFs in .NET
12:45
Nick Chapsas
Рет қаралды 47 М.
Hot Flows vs. Cold Flows In Kotlin - When to Use What?
14:35
Philipp Lackner
Рет қаралды 14 М.
Room Renovations - Android Conference Talks
11:33
Android Developers
Рет қаралды 12 М.
The ONLY Correct Way to Load Initial Data In Your Android App?
12:27
Philipp Lackner
Рет қаралды 25 М.