talk-android/app/src/main/java/com/nextcloud/talk/activities
Marcel Hibbe 817ea1ab64 Avoid to send conversation and user via intent
sending too much data via intent always is a bad pattern which can lead to TransactionTooLargeException.

When OpenAI translation is enabled, the capabilities contain a ton of translation combinations. These capabilities are contained in 'currentUser' as well in 'selectedConversation'. So, TransactionTooLargeException was thrown.

this PR:
- avoids passing too much data as parcelables in intents (esp. conversation and user)
- introduces MVVM patterns to load required data (esp conversation) from backend (for now via requests, in the future from database first)
- introduces ConversationModel which is created out of the Conversation json model
- loads user data via injection when possible
- creates some quickfixes in ConversationBottomDialog, EntryMenuController and OperationsMenuController.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-06-30 07:30:18 +02:00
..
BaseActivity.kt fix screen locking feature 2023-05-04 10:33:11 +02:00
CallActivity.java Avoid to send conversation and user via intent 2023-06-30 07:30:18 +02:00
CallBaseActivity.java Avoid to send conversation and user via intent 2023-06-30 07:30:18 +02:00
CallStatus.kt Migrate to new parcelize Implementation for Kotlin 1.8, also extend chatKit MessageInput to provide access to UI elements of that component 2022-12-30 16:58:42 +01:00
FullScreenImageActivity.kt fix new onBackPressed handling 2023-05-24 15:42:09 +02:00
FullScreenMediaActivity.kt fix new onBackPressed handling 2023-05-24 15:42:09 +02:00
FullScreenTextViewerActivity.kt fix new onBackPressed handling 2023-05-24 15:42:09 +02:00
MainActivity.kt Avoid to send conversation and user via intent 2023-06-30 07:30:18 +02:00
TakePhotoActivity.java fix new onBackPressed handling 2023-05-24 15:42:09 +02:00