Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How can i make a class to get the information that is on the screen?

$
0
0

Its like i have my xml with a button in it with a text "banana" and i have my activity.cs that says when i click that button it ll run another class in this new class i need to get the value of the button.Text without sending it by parameters i need it to just know.

I tried setting contentView to that xml in my class and then finding the button.text value by this class but it doesnt work... there is a way to do that?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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