Adding payload to navigation between pages

SaiPrajnanEmaniSaiPrajnanEmani USMember, University

Similar to the PutExtra() method set in Android Intents, how could we send data between pages in Xamarin.Forms using the Navigation.PushAsync methods?

Posts

  • JasonAwbreyJasonAwbrey USInsider, University, Developer Group Leader mod

    Either pass them as arguments to the Form's constructor, or make them public properties and set them before you navigate to the form.

  • SaiPrajnanEmaniSaiPrajnanEmani USMember, University

    Hey Jason,

    Thank you. Passing them as arguments to the form's constructor should work for me.

    Thanks

Sign In or Register to comment.