mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-08 23:19:55 +00:00
reason was that the UI was not yet loaded but isScrolledToBottom was already called, so findFirstVisibleItemPosition returned -1. Fix for now is to return true for isScrolledToBottom when position is -1 They does not solve the root cause for now. It should be made sure the code is not executed until UI is ready. A quick try with repeatOnLifecycle(Lifecycle.State.STARTED) when collecting getMessageFlow did not help. Signed-off-by: Marcel Hibbe <dev@mhibbe.de> |
||
---|---|---|
.. | ||
androidTest/java/com/nextcloud/talk | ||
generic | ||
gplay | ||
main | ||
qa | ||
test |