Fixed
Status Update
Comments
ar...@google.com <ar...@google.com>
aa...@google.com <aa...@google.com>
ma...@gmail.com <ma...@gmail.com> #2
We don't support cross-process invalidations yet.
aa...@google.com <aa...@google.com> #3
At least , add a "refresh all observables" function to alpha4 ? i am trying to implement it by myself with your InvalidationTracker class
ma...@gmail.com <ma...@gmail.com> #4
Okey, I made it and created a method to invalidate all observables below;
private void refreshAllLiveData() {
AppDataBase YOUR_DATABASE_WHICH_YOU_BUILD = .....
SupportSQLiteDatabase writableDatabase = YOUR_DATABASE_WHICH_YOU_BUILD.getOpenHelper().getWritableDatabase();
//get the database count;
Cursor cursor = writableDatabase.query("SELECT count(*) FROM sqlite_master WHERE type = 'table' AND name != 'android_metadata' AND name != 'room_master_table';");
int tableCount = 0;
while(cursor.moveToNext()) {
tableCount = cursor.getInt(0);
}
for (int i = 0; i < tableCount; i++) {
//update version table with the incremented count because room modification log stores tables with ids instead of names
writableDatabase.execSQL("INSERT OR REPLACE INTO room_table_modification_log VALUES(null, "+(i)+")");
}
YOUR_DATABASE_WHICH_YOU_BUILD.getInvalidationTracker().refreshVersionsAsync();
}
-----
This is a workaroud for refreshing all live datas, I still prefer to use a proper API you implemented.
Thanx
private void refreshAllLiveData() {
AppDataBase YOUR_DATABASE_WHICH_YOU_BUILD = .....
SupportSQLiteDatabase writableDatabase = YOUR_DATABASE_WHICH_YOU_BUILD.getOpenHelper().getWritableDatabase();
//get the database count;
Cursor cursor = writableDatabase.query("SELECT count(*) FROM sqlite_master WHERE type = 'table' AND name != 'android_metadata' AND name != 'room_master_table';");
int tableCount = 0;
while(cursor.moveToNext()) {
tableCount = cursor.getInt(0);
}
for (int i = 0; i < tableCount; i++) {
//update version table with the incremented count because room modification log stores tables with ids instead of names
writableDatabase.execSQL("INSERT OR REPLACE INTO room_table_modification_log VALUES(null, "+(i)+")");
}
YOUR_DATABASE_WHICH_YOU_BUILD.getInvalidationTracker().refreshVersionsAsync();
}
-----
This is a workaroud for refreshing all live datas, I still prefer to use a proper API you implemented.
Thanx
ma...@gmail.com <ma...@gmail.com> #5
Cross process invalidation is now support in Room 2.1.0 with the enableMultiInstanceInvalidation() API.
ma...@gmail.com <ma...@gmail.com> #6
And this setting doesn't fix all the logcat bugs. Fix them at least!
-Dlogcat.panel.memory.saver=false
-Dlogcat.panel.memory.saver=false
ma...@gmail.com <ma...@gmail.com> #7
Nothing's fixed!
aa...@google.com <aa...@google.com>
aa...@google.com <aa...@google.com> #8
I disabled the flag by default since it doesn't work well with the scroll state.
ma...@gmail.com <ma...@gmail.com> #9
Nothing's fixed!
an...@google.com <an...@google.com> #10
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 2
- Android Gradle Plugin 8.8.0-alpha02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
ma...@gmail.com <ma...@gmail.com> #11
I don't use unstable builds!
co...@protonmail.com <co...@protonmail.com> #12
lol
ma...@gmail.com <ma...@gmail.com> #14
1. I work for free for Google testing the app and reporting bugs.
2. These bugs have accumulated so many that they are starting to interfere with my work.
3. Google says I should test these bugs even more for free.
4. Google closes all bugs and doesn't fix them, saying they are fixed or they don't exist because they can't see them.
Google needs to work on its etiquette! They have a pig's ass attitude towards people who are trying to help them for free.
2. These bugs have accumulated so many that they are starting to interfere with my work.
3. Google says I should test these bugs even more for free.
4. Google closes all bugs and doesn't fix them, saying they are fixed or they don't exist because they can't see them.
Google needs to work on its etiquette! They have a pig's ass attitude towards people who are trying to help them for free.
Description
Description has been deleted.