Some helper functions and shared resources to be used only by the simple apps suite.
f66bb80f47
- in an attempt to fix the overwrite issue in [this PR](https://github.com/SimpleMobileTools/Simple-Commons/pull/1351), the slow getDocumentFile was used. - getDocumentFile iterates over the list of files in the parent folder and tries to locate the file if it exists - for fresh copy/move, it would check the entire list of files and not find the path, this greatly slows down the speed. - the fix for it is that we - Check if the file path exists - if it does, we construct the URI manually using the createDocumentUriFromRootTree method - else, we call createFile and get the newly created URI - calling createDocumentUriFromRootTree is very fast - getDocumentFast does not work so it was not used |
||
---|---|---|
.github | ||
commons | ||
gradle/wrapper | ||
samples | ||
.editorconfig | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
jitpack.yml | ||
LICENSE | ||
README.md | ||
settings.gradle |
Simple Commons
Some helper functions, dialogs etc used by multiple simple apps.
For reporting bugs/features that affect multiple apps please use the General Discussion repository.