当ShowcaseView显示时,我如何处理用户按后退按钮的操作?我希望能够隐藏ShowcaseView时,他们按后。
发布于 2016-03-19 10:59:20
试试这个:
@Override
public void onBackPressed() {
// in if condition check showcaseview is show or hide
if(isShowcaseViewShow==true) {
// here hide your showcase view
}
else{
// here perform back action if view already hide
super.onBackPressed();
}
}https://stackoverflow.com/questions/36100747
复制相似问题