更新时间:2023-01-10 11:27:48
kotlin方式
val index: Int = recyclerView.scrollState recyclerView.scrollToPosition(index)
当用户通过按“后退"按钮返回活动时,如何保持列表视图的位置?