https://kotlinlang.org logo
#compose
Title
# compose
m

Mehmet Peker

03/06/2022, 3:08 PM
Hello everyone,can we access local data with glance app widget using room library? If we can how can i do?What is the correct way creating database instance and using this instance?If we can't what do you recommend me for accessing local data?
z

Zun

03/06/2022, 4:55 PM
Surely you can just inject your dependencies, right?
y

yschimke

03/06/2022, 5:16 PM
At the moment I think it's the idea that you display available cached data, or reload in another thread and send an update.
Content() is not suspending and can't use the normal data loading mechanisms like LaunchedEffect or collectAsState to load data and refresh/recompose.
b

Ben Trengrove [G]

03/06/2022, 8:34 PM
Also check out the #glance channel
m

Mehmet Peker

03/06/2022, 8:49 PM
@Ben Trengrove [G] there is no post related to this
@yschimke For example i have a todo list application and i adding todo through room library.I want to add app widget feature to list uncompleted todo.How to retrieve uncompleted todo list? Please help me
c

Colton Idle

03/06/2022, 10:00 PM
How is this not related to #glance?
1
m

Mehmet Peker

03/07/2022, 8:17 PM
@Colton Idle I actually want to say i joined to glance channel but there is no post related my question on that channel.My english not good i'm sorry if i said something wrong
c

Colton Idle

03/08/2022, 12:46 AM
The glance team is over there AFAIK. Just ask your glance question in the #glance channel 😄
1
4 Views