private boolean mNeedsUpdateThumbnail;
private boolean mIsDownloading;
- private boolean mIsUploading;
/**
mRemoteId = source.readString();
mNeedsUpdateThumbnail = source.readInt() == 0;
mIsDownloading = source.readInt() == 0;
- mIsUploading = source.readInt() == 0;
}
dest.writeString(mRemoteId);
dest.writeInt(mNeedsUpdateThumbnail ? 1 : 0);
dest.writeInt(mIsDownloading ? 1 : 0);
- dest.writeInt(mIsUploading ? 1 : 0);
}
/**
mRemoteId = null;
mNeedsUpdateThumbnail = false;
mIsDownloading = false;
- mIsUploading = false;
}
/**
return mIsDownloading;
}
- public boolean isUploading() {
- return mIsUploading;
- }
-
- public void setUploading(boolean isUploading) {
- this.mIsUploading = isUploading;
- }
-
public void setDownloading(boolean isDownloading) {
this.mIsDownloading = isDownloading;
}
+ public boolean isSynchronizing() {
+ // TODO real implementation
+ return false;
+ }
}