Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear import for GlanceViewerActivity #8

Closed
ninovanhooff opened this issue Dec 5, 2022 · 1 comment
Closed

Unclear import for GlanceViewerActivity #8

ninovanhooff opened this issue Dec 5, 2022 · 1 comment
Labels

Comments

@ninovanhooff
Copy link

ninovanhooff commented Dec 5, 2022

Describe the bug

Unclear what the import should be for "value" in the GlanceViewerActivity sample code

To Reproduce

Steps to reproduce the behavior:

  1. Copy-paste the activity code from https://github.com/google/glance-experimental-tools/tree/main/appwidget-viewer
  2. A single auto-import suggestion is given for value in state = mutablePreferencesOf(intPreferencesKey("state") to value).
    This import is import androidx.compose.foundation.gestures.ModifierLocalScrollableContainerProvider.value, which doesn't seem correct and does not compile.

Expected behavior

Ain import which compiles

Environment:

  • using glance 1.0.0-alpha05 of glance
  • using 0.2.2 of appwidget-viewer
@github-actions
Copy link

github-actions bot commented Jan 5, 2023

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant