How to implement the Android ActionBar back button?

后端 未结 12 2157
天涯浪人
天涯浪人 2020-11-29 15:38

I have an activity with a listview. When the user click the item, the item \"viewer\" opens:

List1.setOnItemClickListener(new OnItemClickListener() {
    @Ov         


        
12条回答
  •  遥遥无期
    2020-11-29 16:26

    I think onSupportNavigateUp() is simplest and best way to do so

    check the code in this link Click here for complete code

提交回复
热议问题