aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/SelectFolderFragment.kt
AgeCommit message (Collapse)AuthorFilesLines
2020-12-05Refactor package structure (#1233)Harsh Shandilya1-77/+0
* idea: default test runner to Gradle * Kick off package structure revamp * Reparent all classes under dev.msfjarvis.aps Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-05SelectFolderFragment: use runCatching to replace exception handlingHarsh Shandilya1-4/+5
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-05Remove GitAsyncTask and replace with non-blocking coroutines (#865)Harsh Shandilya1-1/+0
Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-07-08global: set an import order rule and reformat with it (#924)Harsh Shandilya1-1/+3
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-27treewide: update fragments to use LayoutRes constructor (#802)Harsh Shandilya1-1/+1
Third time's the charm Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-27Resolve ViewBinding regressions (#799)Harsh Shandilya1-22/+9
* PasswordStore: remove broken snippet Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Cleanup code and remove incorrect onCreateView uses Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Fixup imports Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya1-2/+2
- Updated gitignore and checked in the IDE's codestyle config - Removed spotless as the underlying ktlint backend has failed to resolve the super frustrating import order bug[1] in nearly a year - Reformat the entire codebase based on the previously committed code style configuration. 1: https://github.com/pinterest/ktlint/issues/527
2020-04-18Resolve lint warningsHarsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-10Modernize legacy RecyclerView adapters (#694)Fabian Henneke1-52/+32
* Modernize legacy RecyclerView adapters Introduces new adapters based on the SearchableRepositoryViewModel and using androidx.recyclerview.selection for multiselection support. The following positive effects in behavior are observable to end-users: - Search and navigation actions are executed on IO threads. - RecyclerViews are now animated during searches (but not navigations). - Exact scroll position is restored when navigating back. - The ActionBar title is updated with the current folder name. The following negative effects may warrant attention: - Support for the "always search from root" setting has been removed. - Due to a limitation of the fast scroll dependency, using the scroller may result in unwanted multiselections. If this is not fixed in the library, native fast scroller capabilities could be used, but these are more limited in appearance and to not offer popups. * Fix lint * Fix FastScroller/SelectionTracker incompatibility * Immediately react to settings changes * List directory entries when search term is blank * Use isEmpty() instead of == "" * Replace adapter inheritance with builders and fix selection drags * Remove dividers in password lists * Run spotlessApply * Use a more logical string in action mode * Commonize and constify path bundle key * Make lambda parameter name explicit Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-01-30Update license headers (#625)Harsh Shandilya1-1/+1
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04Cleanup commentsHarsh Shandilya1-3/+0
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-04CleanupHarsh Shandilya1-16/+10
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-03Convert SelectFolderFragment to KotlinHarsh Shandilya1-0/+117
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>