mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
OCFileListDelegate: remove unused theme utils
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
efaad0a6da
commit
6ae4ac22e7
5 changed files with 0 additions and 16 deletions
|
@ -49,8 +49,6 @@ import com.owncloud.android.utils.DisplayUtils
|
|||
import com.owncloud.android.utils.FileSortOrder
|
||||
import com.owncloud.android.utils.FileStorageUtils
|
||||
import com.owncloud.android.utils.MimeTypeUtil
|
||||
import com.owncloud.android.utils.theme.ThemeColorUtils
|
||||
import com.owncloud.android.utils.theme.ThemeDrawableUtils
|
||||
import com.owncloud.android.utils.theme.newm3.ViewThemeUtils
|
||||
import me.zhanghai.android.fastscroll.PopupTextProvider
|
||||
import java.util.Calendar
|
||||
|
@ -63,8 +61,6 @@ class GalleryAdapter(
|
|||
ocFileListFragmentInterface: OCFileListFragmentInterface,
|
||||
preferences: AppPreferences,
|
||||
transferServiceGetter: ComponentsGetter,
|
||||
themeColorUtils: ThemeColorUtils,
|
||||
themeDrawableUtils: ThemeDrawableUtils,
|
||||
viewThemeUtils: ViewThemeUtils
|
||||
) : SectionedRecyclerViewAdapter<SectionedViewHolder>(), CommonOCFileListAdapterInterface, PopupTextProvider {
|
||||
var files: List<GalleryItems> = mutableListOf()
|
||||
|
@ -85,8 +81,6 @@ class GalleryAdapter(
|
|||
transferServiceGetter,
|
||||
showMetadata = false,
|
||||
showShareAvatar = false,
|
||||
themeColorUtils,
|
||||
themeDrawableUtils,
|
||||
viewThemeUtils
|
||||
)
|
||||
}
|
||||
|
|
|
@ -181,8 +181,6 @@ public class OCFileListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHol
|
|||
.getCapability(activity)
|
||||
.getVersion()
|
||||
.isShareesOnDavSupported(),
|
||||
themeColorUtils,
|
||||
themeDrawableUtils,
|
||||
viewThemeUtils);
|
||||
|
||||
// initialise thumbnails cache on background thread
|
||||
|
|
|
@ -34,8 +34,6 @@ import com.owncloud.android.ui.activity.ComponentsGetter
|
|||
import com.owncloud.android.ui.fragment.SearchType
|
||||
import com.owncloud.android.ui.interfaces.OCFileListFragmentInterface
|
||||
import com.owncloud.android.utils.DisplayUtils
|
||||
import com.owncloud.android.utils.theme.ThemeColorUtils
|
||||
import com.owncloud.android.utils.theme.ThemeDrawableUtils
|
||||
import com.owncloud.android.utils.theme.newm3.ViewThemeUtils
|
||||
|
||||
@Suppress("LongParameterList", "TooManyFunctions")
|
||||
|
@ -50,8 +48,6 @@ class OCFileListDelegate(
|
|||
private val transferServiceGetter: ComponentsGetter,
|
||||
private val showMetadata: Boolean,
|
||||
private var showShareAvatar: Boolean,
|
||||
private var themeColorUtils: ThemeColorUtils,
|
||||
private var themeDrawableUtils: ThemeDrawableUtils,
|
||||
private var viewThemeUtils: ViewThemeUtils
|
||||
) {
|
||||
private val checkedFiles: MutableSet<OCFile> = HashSet()
|
||||
|
|
|
@ -138,8 +138,6 @@ public class GalleryFragment extends OCFileListFragment implements GalleryFragme
|
|||
this,
|
||||
preferences,
|
||||
mContainerActivity,
|
||||
themeColorUtils,
|
||||
themeDrawableUtils,
|
||||
viewThemeUtils);
|
||||
|
||||
setRecyclerViewAdapter(mAdapter);
|
||||
|
|
|
@ -92,8 +92,6 @@ class GalleryAdapterTest {
|
|||
ocFileListFragmentInterface,
|
||||
preferences,
|
||||
transferServiceGetter,
|
||||
themeColorUtils,
|
||||
themeDrawableUtils,
|
||||
viewThemeUtils
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue