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

Best approach for dynamic forms?

$
0
0

Hello,

This is a typical request in normal web dev, but I wanted opinions based on mobile dev with Xamarin.

Depending on the menu option chosen, I want the user to see a different elements in a form.

I.e. they might see a Segment, a couple textboxes and a slider if they click one menu option, but if they click another, they might simply see just the Segment and a textbox.

What is the best approach?

  • Creating the form and hiding/showing elements based on selection
  • Only generating the elements needed based on selection
  • Enabling/disabling elements based on selection
  • Something else?

Thanks for your time.


Viewing all articles
Browse latest Browse all 58056

Trending Articles