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

Assigning variable from List Bindings

$
0
0

Hello,

I've created a Listview that is populated by an SQLite query. Using SetBindings, I have set the values of the Text and Detailproperty of the cell.

Now I'm trying to pass the values of the Detailproperty to the next Navigation page as a String variable when the cell is selected.

When the detail page loads, I'm able to SetBindings to my new Labels via BindingContext in the ItemSelected event.

I've encountered a problem when trying to create a string variable calling from the label.Text function. The value will always be null.

Is there a way to set a String variable in the detail's page?


Viewing all articles
Browse latest Browse all 79144

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>