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 |
cooperku_kdanmobile
|
e3800d762b
Remove exception log
|
5 years ago |
cooperku_kdanmobile
|
373189e8fe
Move progress bar attribute setting to xml
|
5 years ago |
cooperku_kdanmobile
|
6a50e8d920
Merge branch 'eventManager' into copyFileActivity
|
5 years ago |
cooperku_kdanmobile
|
ad4e1b81f9
Use event manager & live data to notify activity
|
5 years ago |
cooperku_kdanmobile
|
f98bbf6edd
Add event system
|
5 years ago |
cooperku_kdanmobile
|
049efa4941
Fix: open wrong file
|
5 years ago |
cooperku_kdanmobile
|
8140dcd0fc
Fix: should not copy file that is already in the folder 'KdanPDFReader'
|
5 years ago |
cooperku_kdanmobile
|
b4590db7c6
Delete file if copy failed & refactor: rename variable
|
5 years ago |
cooperku_kdanmobile
|
fe9341996d
Merge branch 'refactorCopyFile' into copyFileActivity
|
5 years ago |
cooperku_kdanmobile
|
a018de944c
Refactor CopyFileTask
|
5 years ago |
cooperku_kdanmobile
|
324ebfcf17
Add interface 'CopyFileSource' and its implementations
|
5 years ago |
cooperku_kdanmobile
|
88ebd8996a
Change object 'CopyFileUtil' to class 'copyFileTask'
|
5 years ago |
cooperku_kdanmobile
|
3b3561bc4b
Refactor: move CopyMode & CopySizeProgressListener to package 'com.kdanmobile.reader.copyfile'
|
5 years ago |
cooperku_kdanmobile
|
aa30631663
Add read-only value BUFFER_SIZE
|
5 years ago |
cooperku_kdanmobile
|
3950b81073
Refactor: move copy functions from object 'FileUtil' to new object 'CopyFileUtil'
|
5 years ago |