Closed tametter closed 7 months ago
cc @BowerSteve any advice here?
Hi - I don't think there's currently a way to force the PI to be shown initially with a ScalingLazyColumn (I seem to recall the UX spec was that it should not be shown until scrolling occurred). However, it's possible to provide a CustomPositionIndicatorState, like in this demo, which controls the Show/Hide visibility: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:wear/compose/integration-tests/demos/src/main/java/androidx/wear/compose/integration/demos/PositionIndicatorDemos.kt;l=216?q=file:wear%2Fcompose%20CustomPosition&sq=&ss=androidx%2Fplatform%2Fframeworks%2Fsupport
Nice, I can add that. That might actually improve a bunch of things with how WearNavScaffold swaps the state.
I thought it was internal, because it's missing public. Is that an accidental ommission?
@Stable
interface PositionIndicatorState {
Functions are public by default in Kotlin - we normally state it explicitly in Wear/Material, but given that other libraries like Compose/Material omit it, we will also omit the 'public' in future APIs.
Hi, has there been any progress on this feature? My app has got rejected by Google due to missing scrollbar when user enters the screen
When did this happen? That requirement has been removed, so shouldn't have happened this week.
Can you copy the full message?
Happened again to me today:
Issue found: Missing scrollbar Your app does not display the scroll bar when the user enters a scrollable view and/or when the user scrolls. For more information, see Show the scrollbar.
About the Wear App Quality Guidelines We do not accept apps into Wear OS that don't adhere to Wear App Quality Guidelines.
It's likely a mistake in the text they sent. And only because of a screen with missing position indicator.
Sorry for the late reply. Here is the rejection message
I have then displayed the position indicator when entering the page and now they are challenging on other things. It means that this is really something that is taken into account during the approuval
ScrollBar should be showed by default in Wear Compose 1.4.0-alpha01
When navigating to a screen, it would be great if it was possible to force show the scrollbar to indicate to the user that the content is scrollable. This should also work in case the content is loaded asynchronously.