talk-android/app/src/main/java/com/nextcloud/talk/controllers
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
..
base Add todos 2023-04-09 12:16:49 +02:00
bottomsheet Avoid to send conversation and user via intent 2023-06-30 07:30:18 +02:00
util simplify ControllerViewBindingDelegate 2023-01-17 08:12:18 +01:00
AccountVerificationController.kt further improve formatting 2023-05-24 10:19:36 +02:00
RingtoneSelectionController.kt make ControllerViewBindingDelegate nullable 2023-01-17 08:12:17 +01:00
ServerSelectionController.kt comment on empty function block 2023-06-15 11:07:22 +02:00
SwitchAccountController.kt make ControllerViewBindingDelegate nullable 2023-01-17 08:12:17 +01:00
WebViewLoginController.kt Rename some "magic" 2023-03-14 16:28:27 +00:00