I'm implementing comments in my app. I'm using bot...
# compose-android
a
I'm implementing comments in my app. I'm using bottom sheet to show all comments. I've tried using a different bottom sheet for editing comments. As you can imagine, this leads to conflicting UX behavior (ANR etc.). What are alternatives to bottom sheet that are compatible with comment editing? For example, YouTube displays (overlayed) a small input text field at the bottom of the screen. How can I implement the same?
s
YouTube seems to just have a normal layout which simply looks and feels somewhat like a bottom sheet, but it's not a real bottom sheet. It is not laid on top of everything else in a separate window etc. If that's what you want to achieve, perhaps you can just have some normal draggable content on your screen, and ensure you make it feel like a sheet, intercept Back presses to dismiss it etc.
a
There are no composables that'd achieve a (similar) behavior? 😔
s
You can probably look at the implementation of material3 bottom sheets and extract something out of there?
👍🏻 1