element-x-ada/libraries
Jorge Martin Espinosa 42c141109f
Fix media viewer flickering (#6800)
* Fix media viewer flickering

This was caused by the data being loaded triggering an index update that got out of sync with the displayed items, and for an instant, the pager index pointed to the wrong data until it was refreshed

* Reuse the same 'displayer' function for both forwards and backwards pagination

* Make `dataFlow` a property so we don't create a new instance every time we access it

* Remove `pageDataComparator` as it prevented new items from being loaded when a pagination returned no valid items to display but has more items to load

Make sure we modify the current index when loading new data only if it was pointing to the input event id.

* Fix `MediaViewerDataSource` overriding the provided timestamp for `Loading` items

Test emitting different loading items from the data source results in the state displaying the different items, so they will trigger a new pagination attempt

* Add regression test to check loading -> error -> loading states will still trigger 2 separate `LoadMore` events
2026-05-20 11:32:32 +02:00
..
accountselect
androidutils Let our Json parser accept comments and trailing comma. 2026-05-04 10:05:11 +02:00
architecture Remove unused content parameter. 2026-04-30 12:07:07 +02:00
audio enforce selecting the EC preferred device 2026-04-20 11:19:37 +02:00
cachestore Ensure clearing the cache delete the CacheStore. 2026-04-30 09:04:19 +02:00
compound Merge branch 'develop' into feature-oled-black 2026-04-14 10:13:46 +04:00
core Improve Kover setup by using only convention plugins (#6213) 2026-03-16 14:41:07 +00:00
cryptography Fix quality issue. 2026-05-07 10:59:12 +02:00
dateformatter Sync Strings from Localazy 2026-05-04 00:54:27 +00:00
deeplink
designsystem Use just the other user's avatar for DM details (#6738) 2026-05-08 11:17:30 +02:00
di Improve Kover setup by using only convention plugins (#6213) 2026-03-16 14:41:07 +00:00
encrypted-db
eventformatter Sync Strings from Localazy 2026-05-18 00:57:56 +00:00
featureflag Remove LiveLocationSharing feature flag 2026-05-18 20:25:36 +02:00
fullscreenintent
indicator
matrix Update dependency org.matrix.rustcomponents:sdk-android to v26.05.18 (#6805) 2026-05-19 09:20:06 +02:00
matrixmedia Fix compilation warnings 2026-05-05 16:22:32 +02:00
matrixui Sync Strings from Localazy 2026-05-18 00:57:56 +00:00
mediapickers
mediaplayer
mediaupload In the module :libraries:matrix.api, change the dependencies to: 2026-04-30 09:52:10 +02:00
mediaviewer Fix media viewer flickering (#6800) 2026-05-20 11:32:32 +02:00
network Fix compilation warnings 2026-05-05 16:22:32 +02:00
oauth Rename OIDC components and variables to OAuth (#6686) 2026-04-29 11:41:47 +02:00
permissions Merge pull request #6658 from element-hq/sync-localazy 2026-04-27 09:17:54 +02:00
preferences Feature : share live location (#6741) 2026-05-11 08:19:28 +00:00
previewutils Adapt to new DM definition changes in the SDK (#6748) 2026-05-11 17:22:16 +02:00
push Sync Strings from Localazy 2026-05-18 00:57:56 +00:00
pushproviders In the module :libraries:matrix.api, change the dependencies to: 2026-04-30 09:52:10 +02:00
pushstore
qrcode fix(deps): update camera to v1.6.0 (#6514) 2026-04-23 09:48:15 +02:00
recentemojis In the module :libraries:matrix.api, change the dependencies to: 2026-04-30 09:52:10 +02:00
roomselect
rustls-tls Replace rustls-platform-verifier-android.aar with single class (#6610) 2026-04-17 14:48:50 +02:00
rustsdk
session-storage Feature : share live location (#6741) 2026-05-11 08:19:28 +00:00
slashcommands Take into account homeserver capabilities (#6507) 2026-04-15 12:29:41 +00:00
testtags Fix Maestro again after changes to the invite flow (#6796) 2026-05-18 09:26:58 +00:00
textcomposer Merge pull request #6650 from element-hq/feature/bma/a11yFixes 2026-05-04 11:50:15 +02:00
troubleshoot Migrate to v2 testing APIs 2026-04-30 16:04:07 +02:00
ui-common
ui-strings Sync Strings from Localazy 2026-05-18 00:57:56 +00:00
ui-utils Fix quality issues 2026-04-30 14:09:07 +02:00
usersearch
voiceplayer In the module :libraries:matrix.api, change the dependencies to: 2026-04-30 09:52:10 +02:00
voicerecorder Fix compilation warnings 2026-05-05 16:22:32 +02:00
wellknown Merge pull request #6682 from element-hq/feature/bma/customMasScheme 2026-05-07 10:51:32 +02:00
workmanager In the module :libraries:matrix.api, change the dependencies to: 2026-04-30 09:52:10 +02:00