talk-android/app/src/main/java/com/nextcloud/talk
Á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
..
activities fix crash when navigating back from chat to conversation list 2022-07-01 08:59:19 +02:00
adapters remove unused variable 2022-07-01 08:59:18 +02:00
api harmonize license header in java/kt files 2022-06-18 16:42:53 +02:00
application WIP: upload profile picture from camera 2022-07-07 13:51:55 +02:00
arbitrarystorage add arbitrary storage business layer 2022-07-01 08:59:21 +02:00
callbacks Upgrade code to latest API changes for Emojis 2022-05-20 16:01:49 +02:00
components/filebrowser Use proper Android logger 2022-06-18 16:36:02 +02:00
controllers Introduce DisposableSet to handle multiple disposables at once 2022-07-07 16:47:17 +02:00
dagger/modules WIP: upload profile picture from camera 2022-07-07 13:51:55 +02:00
data UsersDao: make setUserAsActiveWithId blocking 2022-07-01 08:59:22 +02:00
events modify copyright headers authors 2022-02-16 11:34:10 +01:00
interfaces replace share files remote item chooser with new implementation and remove any legacy implementation 2022-06-08 23:40:09 +02:00
jobs set/read matching user context 2022-07-07 14:29:33 +02:00
messagesearch Message search: avoid passing user entity to repository, inject userProvider instead 2022-06-01 16:49:20 +02:00
models fix review comments 2022-07-01 08:59:21 +02:00
presenters add author to license headers 2022-02-25 12:11:44 +01:00
receivers set/read matching user context 2022-07-07 14:29:33 +02:00
remotefilebrowser further centralize mimetype definitions 2022-06-10 13:13:37 +02:00
repositories/unifiedsearch Message search: avoid passing user entity to repository, inject userProvider instead 2022-06-01 16:49:20 +02:00
shareditems Fix state handling in SharedItemsActivity 2022-05-23 17:35:17 +02:00
ui Rename 'WebRtcAudioManger' to 'WebRtcAudioManager' 2022-06-23 15:20:32 +02:00
users fix upsert logic for users 2022-07-01 08:59:20 +02:00
utils Introduce DisposableSet to handle multiple disposables at once 2022-07-07 16:47:17 +02:00
webrtc Use simple class name for logging 2022-06-23 15:35:42 +02:00