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 |
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 |