File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/src/main/java/com/hazz/kotlinmvp/ui/activity Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import com.hazz.kotlinmvp.base.BaseActivity
88import com.hazz.kotlinmvp.mvp.model.bean.HomeBean
99import com.hazz.kotlinmvp.ui.adapter.WatchHistoryAdapter
1010import com.hazz.kotlinmvp.utils.WatchHistoryUtils
11+ import kotlinx.android.synthetic.main.activity_about.*
1112import kotlinx.android.synthetic.main.layout_recyclerview.*
1213import java.util.*
1314import kotlin.collections.ArrayList
@@ -35,6 +36,8 @@ class WatchHistoryActivity : BaseActivity() {
3536 }
3637
3738 override fun initView () {
39+ // 返回
40+ toolbar.setNavigationOnClickListener { finish() }
3841
3942 val mAdapter = WatchHistoryAdapter (this , itemListData, R .layout.item_video_small_card)
4043 mRecyclerView.layoutManager = LinearLayoutManager (this )
You can’t perform that action at this time.
0 commit comments