|
@@ -28,6 +28,7 @@ import android.widget.LinearLayout;
|
|
|
import android.widget.ProgressBar;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
+import com.nextcloud.client.network.ClientFactory;
|
|
|
import com.nextcloud.common.NextcloudClient;
|
|
|
import com.owncloud.android.R;
|
|
|
import com.owncloud.android.datamodel.FileDataStorageManager;
|
|
@@ -100,6 +101,7 @@ public class ActivitiesActivity extends FileActivity implements ActivityListInte
|
|
|
private ActivitiesContract.ActionListener mActionListener;
|
|
|
@Inject ActivitiesRepository activitiesRepository;
|
|
|
@Inject FilesRepository filesRepository;
|
|
|
+ @Inject ClientFactory clientFactory;
|
|
|
|
|
|
@Override
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
@@ -169,8 +171,13 @@ public class ActivitiesActivity extends FileActivity implements ActivityListInte
|
|
|
PorterDuff.Mode.SRC_IN);
|
|
|
|
|
|
FileDataStorageManager storageManager = new FileDataStorageManager(getAccount(), getContentResolver());
|
|
|
- adapter = new ActivityListAdapter(this, getUserAccountManager(), this, storageManager,
|
|
|
- getCapabilities(), false);
|
|
|
+ adapter = new ActivityListAdapter(this,
|
|
|
+ getUserAccountManager(),
|
|
|
+ this,
|
|
|
+ storageManager,
|
|
|
+ getCapabilities(),
|
|
|
+ clientFactory,
|
|
|
+ false);
|
|
|
recyclerView.setAdapter(adapter);
|
|
|
|
|
|
LinearLayoutManager layoutManager = new LinearLayoutManager(this);
|