talk-android/app/src
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
..
androidTest/java/com/nextcloud/talk codacy: Unused import 2023-06-01 22:27:42 +02:00
generic
gplay Fix code formatting 2023-02-16 09:57:19 +01:00
main Avoid to send conversation and user via intent 2023-06-30 07:30:18 +02:00
qa Merge drawable-v24 into drawable folder since minVersion is now 24 2023-03-23 15:41:40 +01:00
test codacy: Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 2023-06-01 22:27:43 +02:00