Hello, I need to realize the discovery of activity with a certain fragment.
How to implement it?
Of course when it is not working:
Intent intent = new Intent(this,ExamFragment.class); PendingIntent pendingIntent = PendingIntent.getActivity(this,0,intent,0); But this code works, it starts the activity and the old fragment (which was last opened): `
Intent intent = new Intent(this,Activity.class); PendingIntent pendingIntent = PendingIntent.getActivity(this,0,intent,0); How to open the activity with the required fragment when clicking on the notification?