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

如何监听某个表数据变化呢? #826

Open
zhuzhutai opened this issue Nov 16, 2023 · 1 comment
Open

如何监听某个表数据变化呢? #826

zhuzhutai opened this issue Nov 16, 2023 · 1 comment

Comments

@zhuzhutai
Copy link

zhuzhutai commented Nov 16, 2023

类似Room这种
`@Dao
interface UserDao {

 @Query("SELECT * FROM users")
 fun getAllUsers(): LiveData<List<User>>

}`

@Arsun
Copy link

Arsun commented Nov 16, 2023 via email

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

No branches or pull requests

2 participants