Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Preview in GalleryScreen doesn't show anything #835

Open
IgorGanapolsky opened this issue Feb 26, 2023 · 2 comments
Open

Preview in GalleryScreen doesn't show anything #835

IgorGanapolsky opened this issue Feb 26, 2023 · 2 comments

Comments

@IgorGanapolsky
Copy link

Hello,
I am learning the @Preview api, and was hoping to see something in GalleryScreen. However, it is just blank:

Screenshot 2023-02-26 at 5 36 28 AM

@wlazlopwl
Copy link

You can use interactive mode and then you will see view items :)
image

@sanao1006
Copy link

Hi
When I try to Run Preview on GalleryScreen, I get the following error and the build fails

e: C:\Users\user\sunflower\app\src\androidTest\java\com\google\samples\apps\sunflower\worker\SeedDatabaseWorkerTest.kt: (70, 29): Cannot access class 'com.google.common.util.concurrent.ListenableFuture'. Check your module classpath for missing or conflicting dependencies
e: C:\Users\user\sunflower\app\src\androidTest\java\com\google\samples\apps\sunflower\worker\SeedDatabaseWorkerTest.kt: (70, 41): Unresolved reference. None of the following candidates is applicable because of receiver type mismatch: 
public operator fun MatchGroupCollection.get(name: String): MatchGroup? defined in kotlin.text

Perhaps a dependency error has occurred.
Interactive mode is available.
Is this error happening only in my environment?

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

No branches or pull requests

4 participants
@IgorGanapolsky @wlazlopwl @sanao1006 and others