|
@@ -1,4 +1,4 @@
|
|
-/**
|
|
|
|
|
|
+/*
|
|
* Nextcloud Android client application
|
|
* Nextcloud Android client application
|
|
*
|
|
*
|
|
* @author Andy Scherzinger
|
|
* @author Andy Scherzinger
|
|
@@ -27,9 +27,12 @@ import com.owncloud.android.datamodel.MediaFolderType;
|
|
import com.owncloud.android.datamodel.SyncedFolderDisplayItem;
|
|
import com.owncloud.android.datamodel.SyncedFolderDisplayItem;
|
|
import com.owncloud.android.files.services.FileUploader;
|
|
import com.owncloud.android.files.services.FileUploader;
|
|
|
|
|
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* Parcelable for {@link SyncedFolderDisplayItem} objects to transport them from/to dialog fragments.
|
|
* Parcelable for {@link SyncedFolderDisplayItem} objects to transport them from/to dialog fragments.
|
|
*/
|
|
*/
|
|
|
|
+@NoArgsConstructor
|
|
public class SyncedFolderParcelable implements Parcelable {
|
|
public class SyncedFolderParcelable implements Parcelable {
|
|
private String mFolderName;
|
|
private String mFolderName;
|
|
private String mLocalPath;
|
|
private String mLocalPath;
|
|
@@ -44,9 +47,6 @@ public class SyncedFolderParcelable implements Parcelable {
|
|
private String mAccount;
|
|
private String mAccount;
|
|
private int mSection;
|
|
private int mSection;
|
|
|
|
|
|
- public SyncedFolderParcelable() {
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public SyncedFolderParcelable(SyncedFolderDisplayItem syncedFolderDisplayItem, int section) {
|
|
public SyncedFolderParcelable(SyncedFolderDisplayItem syncedFolderDisplayItem, int section) {
|
|
mId = syncedFolderDisplayItem.getId();
|
|
mId = syncedFolderDisplayItem.getId();
|
|
mFolderName = syncedFolderDisplayItem.getFolderName();
|
|
mFolderName = syncedFolderDisplayItem.getFolderName();
|