From e3a49e2632cfda9c548728ae306ceb06374855ea Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Mon, 6 Apr 2020 22:56:52 +0200 Subject: Modernize file listing and search in AutofillFilterActivity (#683) * WIP: Modernize file listing and search * Refactor * Implement fuzzy search * Improve ViewModel API and introduce Adapter * Integrate new search into AutofillFilterActivity and dedebounce * Improve no results layout * Reformat * Highlight origin in FileBased directory structure * Extract highlighting logic into DirectoryStructure * Trim whitespace before searching * Remove debug logging * Remove more debug logging * Organize imports * Remove imports * Update app/src/main/java/com/zeapo/pwdstore/SearchableRepositoryViewModel.kt Co-Authored-By: Harsh Shandilya * Address review comments Signed-off-by: Harsh Shandilya --- dependencies.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dependencies.gradle') diff --git a/dependencies.gradle b/dependencies.gradle index 6d85b8ea..b5385778 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -29,11 +29,14 @@ ext.deps = [ androidx: [ annotation: 'androidx.annotation:annotation:1.1.0', + activity_ktx: 'androidx.activity:activity-ktx:1.1.0', appcompat: 'androidx.appcompat:appcompat:1.2.0-alpha03', biometric: 'androidx.biometric:biometric:1.0.1', constraint_layout: 'androidx.constraintlayout:constraintlayout:2.0.0-beta4', core_ktx: 'androidx.core:core-ktx:1.3.0-alpha02', documentfile: 'androidx.documentfile:documentfile:1.0.1', + fragment_ktx: 'androidx.fragment:fragment-ktx:1.1.0', + lifecycle_livedata_ktx: 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.0-alpha01', lifecycle_runtime_ktx: 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.0-alpha01', local_broadcast_manager: 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0-alpha01', material: 'com.google.android.material:material:1.2.0-alpha05', @@ -55,7 +58,6 @@ ext.deps = [ // a reference to the latest version is warranted. // See: https://github.com/mozilla-mobile/android-components/blob/master/components/lib/publicsuffixlist/README.md publicsuffixlist: 'org.mozilla.components:lib-publicsuffixlist:+', - recyclical: 'com.afollestad:recyclical:1.1.1', ssh_auth: 'org.sufficientlysecure:sshauthentication-api:1.0', timber: 'com.jakewharton.timber:timber:4.7.1', timberkt: 'com.github.ajalt:timberkt:1.5.1', -- cgit v1.2.3