Start to introduce Dagger into SDK [WIP]

This commit is contained in:
ganfra
2019-06-14 16:32:23 +02:00
parent df4f0eac20
commit 3d465f6fdf
142 changed files with 1093 additions and 1384 deletions

View File

@ -710,7 +710,7 @@ class VectorSettingsPreferencesFragment : VectorPreferenceFragment(), SharedPref
/* TODO
displayLoadingView()
val task = ClearMediaCacheAsyncTask(
val task = ClearMediaCacheAsyncTask @Inject constructor(
backgroundTask = {
session.mediaCache.clear()
activity?.let { it -> Glide.get(it).clearDiskCache() }