Hello everyone,can we access local data with glanc...
# compose
m
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
Surely you can just inject your dependencies, right?
y
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
Also check out the #glance channel
m
@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
How is this not related to #glance?
1
m
@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
The glance team is over there AFAIK. Just ask your glance question in the #glance channel 😄
1