talk-android/app/src/main/java/com/nextcloud/talk/chat
Marcel Hibbe 30caa435ae
Avoid duplicated messages when activity is in background.
onDestroy is not called when navigating to the next activity or bringing the app to background. That's why the adapter was not set to null and all messages were added another time the next time the activity comes to foreground. With this fix, the adapter is set to null in onStop.

All in all, the adapter handling may not be the best, but will be replaced by Compose anyway..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-17 14:59:15 +01:00
..
data avoid duplicated messages after sending 2025-02-05 15:56:42 +01:00
viewmodels remove scope cancelation for handleChatOnBackPress (replace with lifecyle event) 2025-01-22 13:59:03 +01:00
ChatActivity.kt Avoid duplicated messages when activity is in background. 2025-02-17 14:59:15 +01:00
MessageInputFragment.kt ktlintFormat 2025-02-17 12:25:43 +01:00
MessageInputVoiceRecordingFragment.kt Message Input Refactoring 2024-06-05 17:45:01 +02:00
TypingParticipant.kt Add SPDX header 2024-03-29 15:42:11 +01:00