mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 20:33:55 +00:00
code
This commit is contained in:
@@ -56,7 +56,9 @@ class SearchAdapter(private val activity: SearchActivity, private val type: Stri
|
||||
override fun onBindViewHolder(holder: SearchHeaderViewHolder, position: Int) {
|
||||
binding = holder.binding
|
||||
|
||||
searchHistoryAdapter = SearchHistoryAdapter(type) { s -> logger(s) }
|
||||
searchHistoryAdapter = SearchHistoryAdapter(type) {
|
||||
binding.searchBarText.setText(it)
|
||||
}
|
||||
binding.searchHistoryList.layoutManager = LinearLayoutManager(binding.root.context)
|
||||
binding.searchHistoryList.adapter = searchHistoryAdapter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user