Commit 5cd19159 by Paktalin

Packages refactoring

parent 20b97ab4
...@@ -14,8 +14,8 @@ import androidx.recyclerview.selection.SelectionTracker ...@@ -14,8 +14,8 @@ import androidx.recyclerview.selection.SelectionTracker
import androidx.recyclerview.selection.StableIdKeyProvider import androidx.recyclerview.selection.StableIdKeyProvider
import androidx.recyclerview.selection.StorageStrategy import androidx.recyclerview.selection.StorageStrategy
import com.paktalin.vocabularynotebook.R import com.paktalin.vocabularynotebook.R
import com.paktalin.vocabularynotebook.ui.MyItemDetailsLookup import com.paktalin.vocabularynotebook.ui.recyclerview.MyItemDetailsLookup
import com.paktalin.vocabularynotebook.ui.VocabularyAdapter import com.paktalin.vocabularynotebook.ui.recyclerview.VocabularyAdapter
import com.paktalin.vocabularynotebook.ui.views.LockableLayoutManager import com.paktalin.vocabularynotebook.ui.views.LockableLayoutManager
import com.paktalin.vocabularynotebook.utils.* import com.paktalin.vocabularynotebook.utils.*
import com.paktalin.vocabularynotebook.vocabulary.Sort import com.paktalin.vocabularynotebook.vocabulary.Sort
......
package com.paktalin.vocabularynotebook.ui package com.paktalin.vocabularynotebook.ui.recyclerview
import android.view.MotionEvent import android.view.MotionEvent
import androidx.recyclerview.selection.ItemDetailsLookup import androidx.recyclerview.selection.ItemDetailsLookup
......
package com.paktalin.vocabularynotebook.ui.recyclerview
import androidx.appcompat.widget.SearchView
class OnQueryTextListener(var adapter: VocabularyAdapter) : SearchView.OnQueryTextListener {
override fun onQueryTextSubmit(query: String): Boolean {
adapter.filter(query)
return true
}
override fun onQueryTextChange(query: String): Boolean {
adapter.filter(query)
return true
}
}
\ No newline at end of file
package com.paktalin.vocabularynotebook.ui package com.paktalin.vocabularynotebook.ui.recyclerview
import android.graphics.Color import android.graphics.Color
import android.view.View import android.view.View
......
package com.paktalin.vocabularynotebook.ui package com.paktalin.vocabularynotebook.ui.recyclerview
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.os.Build import android.os.Build
...@@ -9,7 +9,6 @@ import android.view.ViewGroup ...@@ -9,7 +9,6 @@ import android.view.ViewGroup
import androidx.appcompat.widget.PopupMenu import androidx.appcompat.widget.PopupMenu
import androidx.recyclerview.selection.SelectionTracker import androidx.recyclerview.selection.SelectionTracker
import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView
import com.paktalin.vocabularynotebook.OnQueryTextListener
import com.paktalin.vocabularynotebook.R import com.paktalin.vocabularynotebook.R
import com.paktalin.vocabularynotebook.firestoreitems.WordPojo import com.paktalin.vocabularynotebook.firestoreitems.WordPojo
import com.paktalin.vocabularynotebook.ui.activities.MainActivity import com.paktalin.vocabularynotebook.ui.activities.MainActivity
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment