https://kotlinlang.org logo
#compose-wear
Title
# compose-wear
f

FEDUSS

02/13/2023, 1:29 PM
Hi all 😄! I was wondering if there be a WearableNavigationDrawerView in jetpack compose or not :)!
1
y

yschimke

02/13/2023, 1:44 PM
It's now an anti-pattern from what I understand. So best avoided.
But generally the Wear Compose components have most of whats needed, so older patterns aren't really needed.
f

FEDUSS

02/13/2023, 1:47 PM
Thanks for your reply! I will use compose-pagination instead (https://developer.android.com/training/wearables/compose/pagination)
y

Yingding Wang

02/13/2023, 4:41 PM
The issue with WearableNavigationDrawerView is that it conflicts with the Samsung GW4 status bar. It is a big problem with Samsung UI on wear os3. I am using the horologist
WearNavScaffold
. Maybe it is useful for you too, since it also supports the TimeText and others great features tailored for wear compose.
f

FEDUSS

02/13/2023, 4:43 PM
That's a big issue, since i'm developing on galaxy watch 4 and 5 pro. Now i'm trying with horizontalPager of accompanist, it's a good replacement for my app's flow
y

yschimke

02/13/2023, 6:39 PM
If you are happy using alphas, pager from accompanist is deprecated. But Compose foundation has a replacement.
f

FEDUSS

02/13/2023, 6:42 PM
Oh ok, thanks for the info
y

yschimke

02/13/2023, 6:42 PM
Horologist PagerScreen combines the foundation pager with the wear compose page indicator
f

FEDUSS

02/13/2023, 7:06 PM
Ok...so, it seems the right way to procede :)
k

Kseniia Shumelchyk

02/14/2023, 3:32 PM
@FEDUSS if you’re looking some some inspiration for redesign, we worked with Todoist team to migrate from drawer navigation pattern (outdated) to flatter app structure: https://9to5google.com/2022/05/12/todoist-wear-os-redesign/
f

FEDUSS

02/15/2023, 9:22 PM
cool! 😄
7 Views