cooperku_kdanmobile
|
d2f8fee192
Use const value instead of anonymous text
|
5 years ago |
Wayne Huang
|
d0be6d0f39
Merge branch 'copyFileActivity' into 'master'
|
5 years ago |
cooperku_kdanmobile
|
0d3e4a714a
Add const value KEY_FILE_ABSOLUTE_PATH & KEY_SHOULD_COPY_FILE
|
5 years ago |
cooperku_kdanmobile
|
55ab7022ed
Remove useless parameter
|
5 years ago |
cooperku_kdanmobile
|
68ce95a610
Change CopyFileViewModel constructor
|
5 years ago |
cooperku_kdanmobile
|
df855fcfec
Add class CopyFileInfo & CopyFileInfoFactory
|
5 years ago |
cooperku_kdanmobile
|
546af7b3d5
Remove parameters 'shouldCopyFile' and 'srcFilePath' from CopyFileViewModel
|
5 years ago |
cooperku_kdanmobile
|
2f091cce85
Copy file in CopyFileViewModel::init
|
5 years ago |
cooperku_kdanmobile
|
d546b24acd
Refactor: rename member
|
5 years ago |
cooperku_kdanmobile
|
d4248c5b95
Add function CopyFileTask::copy(source: CopyFileSource?): Observable<Long>
|
5 years ago |
cooperku_kdanmobile
|
d9a8f827a1
Refactor: rename function
|
5 years ago |
cooperku_kdanmobile
|
e23d6f84d7
Add safe use of nullable uri.lastPathSegment
|
5 years ago |
cooperku_kdanmobile
|
3b4f338c64
Fix: FileUriSource::getFileName() should not be null
|
5 years ago |
cooperku_kdanmobile
|
c3fb8ff64b
workaround: try to fix wrong file path
|
5 years ago |
cooperku_kdanmobile
|
b042679a9f
Rearrange code
|
5 years ago |
cooperku_kdanmobile
|
58b54e4cab
Remove unreached code
|
5 years ago |
cooperku_kdanmobile
|
f41154e350
Merge branch 'getSourceFileSize' into copyFileActivity
|
5 years ago |
cooperku_kdanmobile
|
47a82797ca
Fix: get correct file size
|
5 years ago |
cooperku_kdanmobile
|
46ee7af0b9
Add function CopyFileSource::getFileSize()
|
5 years ago |
cooperku_kdanmobile
|
bb77ffe0d0
Fix FileUriSource::getFilePath()
|
5 years ago |
cooperku_kdanmobile
|
be50d1893c
Rearrange code
|
5 years ago |
cooperku_kdanmobile
|
8db4311e13
Refactor CopyFileViewModel
|
5 years ago |
cooperku_kdanmobile
|
b5a8b7c3f3
Merge branch 'copyFileEventManager' into copyFileActivity
|
5 years ago |
cooperku_kdanmobile
|
7cdd4deb05
Use delegation to handle EventManager of CopyFileViewModel
|
5 years ago |
cooperku_kdanmobile
|
d4e95a1b1f
Change EventBroadcaster: LiveData should not be nullable
|
5 years ago |
cooperku_kdanmobile
|
d5bfff1e38
Change CopyFileViewModel.Event
|
5 years ago |
cooperku_kdanmobile
|
de914c71cb
Refactor
|
5 years ago |
cooperku_kdanmobile
|
47e938a736
Change constructor of CopyFileViewModel (eventManager use default parameter)
|
5 years ago |
cooperku_kdanmobile
|
c08c402484
Refactor: rename class
|
5 years ago |
cooperku_kdanmobile
|
f51bb544e1
Show AlertDialog if fail to copy file
|
5 years ago |