I try to implement startup of my app. when clicking on the notification view. I can get itr work when using
var activity = new Intent(this, typeof(SplashActivity)); notification.SetLatestEventInfo(this, title, text, PendingIntent.GetActivity(this, 0, activity, 0));
However I wan't to make use of NotificationCombat.Builder like the example in Xamarin documentation
Problem is that I don't know how to add my activity to the ParentStack. (does not compile)
TaskStackBuilder stackBuilder = TaskStackBuilder.Create(this);
stackBuilder.AddParentStack(Class.FromType(typeof(SplashActivity))); ??????????
stackBuilder.AddNextIntent(resultIntent);
Error 251 Member 'Java.Lang.Class.FromType(System.Type)' cannot be accessed with an instance reference; qualify it with a type name instead C:\Users\olefa_000\Documents\ONDO_ANDROID\OndoDot_Android\OndoDot_Android\Helper\PushService.cs 168 41 OndoDot_Android
Any hints