notification中通过设置点击通知打开指定的activity。
原本使用的是通过setContentIntent(pendingIntent)来是想上述效果。其中pendingIntent = PendingIntent.getActivity(context,requestCode,intent,flags)。但是现在改成模块化开发了,这里的intent肯定就不能用了。
那么在模块化开发中想要实现如上述点击通知跳转至指定页面应该如何设置实现?
notification中通过设置点击通知打开指定的activity。
原本使用的是通过setContentIntent(pendingIntent)来是想上述效果。其中pendingIntent = PendingIntent.getActivity(context,requestCode,intent,flags)。但是现在改成模块化开发了,这里的intent肯定就不能用了。
那么在模块化开发中想要实现如上述点击通知跳转至指定页面应该如何设置实现?