talk-android/app/src/main/java/com/nextcloud/talk/utils
Álvaro Brey a24f49c737
Introduce DisposableSet to handle multiple disposables at once
This should be used in places where multiple Disposables are handled simultaneously as a simple way of
ensuring that all disposables are cleared on exit. For example on ViewModels and Controllers should likely use one
of these and clear it on their respective lifecycle end.

I've included an example use in ChatController, where it replaces an existing `ArrayList<Disposable>`, but the benefit
should be more visible in places where Disposables are currently handled separately.

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-07-07 16:47:17 +02:00
..
animations Code changes due to conductor update to 3.0.1 2021-05-07 21:56:26 +02:00
bundle remove legacy references and fix avatar upload permission issues 2022-06-08 18:15:38 +02:00
database fix review comments 2022-07-01 08:59:21 +02:00
permissions WIP: upload profile picture from camera 2022-07-07 13:51:55 +02:00
power Lobby & Various bugfixes and improvements 2019-08-30 12:13:33 +02:00
preferences rename to isDbRoomMigrated and setDbRoomMigrated for proper kotlin interoperability 2022-07-01 08:59:13 +02:00
rx Introduce DisposableSet to handle multiple disposables at once 2022-07-07 16:47:17 +02:00
singletons set calling/dialing state by ApplicationWideCurrentRoomHolder 2021-11-11 13:23:40 +01:00
ssl extract magic numbers 2022-03-15 17:46:40 +01:00
text remove default constructors (generated by the compiler) and simplify if-statements of equals-methods 2021-04-29 16:37:57 +02:00
AccountUtils.kt extract magic numbers 2022-03-15 17:46:40 +01:00
ApiUtils.java fix review comments 2022-07-01 08:59:21 +02:00
AttendeePermissionsUtil.kt fix klint warnings 2022-05-11 16:44:07 +02:00
AuthenticatorService.java codacy: Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 2021-05-17 13:38:05 +02:00
BitmapShrinker.kt update cam libs to sdk=30 versions, improve previews and removal of temp images in case of cancellations 2021-11-11 22:10:47 +01:00
ConductorRemapping.kt Use setBackstack when starting new MainActivity from notification 2022-04-19 12:57:32 +02:00
ContactUtils.kt replace getColumnIndex with getColumnIndexOrThrow 2022-05-19 12:54:55 +02:00
DateConstants.kt harmonize license header in java/kt files 2022-06-18 16:42:53 +02:00
DateUtils.kt extract magic numbers 2022-03-15 17:46:40 +01:00
DeviceUtils.java Lobby & Various bugfixes and improvements 2019-08-30 12:13:33 +02:00
DisplayUtils.java fix review comments 2022-07-01 08:59:21 +02:00
DoNotDisturbUtils.kt DoNotDisturbUtils: refactor to avoid mocking static stuff 2022-05-27 14:26:00 +02:00
DrawableUtils.kt further centralize mimetype definitions 2022-06-10 13:13:37 +02:00
EmojiTextInputEditText.java Fix #612 (again? :D) 2019-09-03 13:45:24 +02:00
FABAwareScrollingViewBehavior.java Reformat 2019-02-15 01:49:57 +01:00
FileSortOrder.kt replace share files remote item chooser with new implementation and remove any legacy implementation 2022-06-08 23:40:09 +02:00
FileSortOrderByDate.kt replace share files remote item chooser with new implementation and remove any legacy implementation 2022-06-08 23:40:09 +02:00
FileSortOrderByName.kt improve code base from review comments 2022-06-09 12:03:03 +02:00
FileSortOrderBySize.kt replace share files remote item chooser with new implementation and remove any legacy implementation 2022-06-08 23:40:09 +02:00
FileUtils.java remove legacy references and fix avatar upload permission issues 2022-06-08 18:15:38 +02:00
FileViewerUtils.kt further centralize mimetype definitions 2022-06-10 13:13:37 +02:00
ImageEmojiEditText.kt further centralize mimetype definitions 2022-06-10 13:13:37 +02:00
LegacyUserEntityMapper.kt safeguard mapper for null values on fields that need to be json-parsed 2022-07-01 08:59:23 +02:00
LoggingUtils.kt further centralize mimetype definitions 2022-06-10 13:13:37 +02:00
MagicCharPolicy.java Reformat 2019-02-15 01:49:57 +01:00
MagicMap.kt Lobby & Various bugfixes and improvements 2019-08-30 12:13:33 +02:00
Mimetype.kt further centralize mimetype definitions 2022-06-10 13:13:37 +02:00
NoSupportedApiException.kt Fix coding styles 2021-05-07 11:57:39 +02:00
NotificationUtils.kt Refactor - extracted common method to load avatars for notifications 2022-05-13 10:38:39 +02:00
OkHttpNetworkFetcherWithCache.java Reformat 2019-02-15 01:49:57 +01:00
PushUtils.java Use Boolean constant values directly 2022-03-07 13:11:23 +01:00
SecurityUtils.java Lobby & Various bugfixes and improvements 2019-08-30 12:13:33 +02:00
ShareUtils.kt Convert ShareUtils to Kotlin so no TextUtils static mock is needed in tests, and re-enable relevant tests 2022-05-27 14:40:45 +02:00
SyncAdapter.java Add phone book integration 2020-12-14 12:05:43 +01:00
SyncService.java Add phone book integration 2020-12-14 12:05:43 +01:00
TextMatchers.java Upgrade code to latest API changes for Emojis 2022-05-20 16:01:49 +02:00
UriUtils.kt replace getColumnIndex with getColumnIndexOrThrow 2022-05-19 12:54:55 +02:00