|
|
@ -87,10 +87,7 @@ class SearchContentActivity : |
|
|
|
|
|
|
|
|
|
|
|
private fun initView() { |
|
|
|
private fun initView() { |
|
|
|
binding.ivSearchContentTop.setOnClickListener { |
|
|
|
binding.ivSearchContentTop.setOnClickListener { |
|
|
|
mLayoutManager.scrollToPositionWithOffset( |
|
|
|
mLayoutManager.scrollToPositionWithOffset(0, 0) |
|
|
|
0, |
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
binding.ivSearchContentBottom.setOnClickListener { |
|
|
|
binding.ivSearchContentBottom.setOnClickListener { |
|
|
|
if (adapter.itemCount > 0) { |
|
|
|
if (adapter.itemCount > 0) { |
|
|
|