All the ***Operations classes inside of the package com.owncloud.android.lib.resources contain a companion object pointing to relevant endpoints, paths... as static constants.
Across the package, there are many operations that use the same strings. It could be a good idea to extract all strings to a common place. It would help in case of change, just one place to perform.
For example, the following const:
private const val GRAPH_API_DRIVES_PATH = "graph/v1beta1/drives/"
is already in 9 different operations
TASKS
All the
***Operationsclasses inside of the packagecom.owncloud.android.lib.resourcescontain a companion object pointing to relevant endpoints, paths... as static constants.Across the package, there are many operations that use the same strings. It could be a good idea to extract all strings to a common place. It would help in case of change, just one place to perform.
For example, the following const:
private const val GRAPH_API_DRIVES_PATH = "graph/v1beta1/drives/"is already in 9 different operations
TASKS