Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

PushModalAsync vs PushAsync

$
0
0

I am making my first forms app since Evolve.
I have a tableview up and working okay, but when I select one of the items I want to open a new form page

I tried this one, and it works well in android because I can use the back button
await this.Navigation.PushAsync(new InfragisticReportViewer());

But when I use it in ios there is no navigation bar so there is no way to go back to the tableview

I found some samples using PushAsync
so I tried this
await this.Navigation.PushAsync(new InfragisticReportViewer());

But this just blows up:
Mono.Debugger.Soft.AbsentInformationException: Debug information is not available for this frame.
at Mono.Debugger.Soft.VirtualMachine.ErrorHandler(Object sender, ErrorHandlerEventArgs args)
at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
at Mono.Debugger.Soft.Connection.StackFrame_GetThis(Int64 thread_id, Int64 id)
at Mono.Debugger.Soft.StackFrame.GetThis()

Am I doing this right? Or maybe there is a basic example of opening a new form after selecting a grid item.

Ed,


Viewing all articles
Browse latest Browse all 58056

Trending Articles