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

Get Value from EditText in ListView in Xamarin Android

$
0
0

I am using Xamarin Studio with C#.

Actually, I create one custom listView and in this listview I'm using one EditText field for getting information from using. And this listview dynamically generate base response of WCF. This WCF connect with our DB use for getting and retrieve data.

Currently, I'm using below line of code.

for(int i=0 ; i< listAdapter.Count ; i++) 
{ 
    View view = listAdapter.GetView(i, null, null); 
    EditText edittext= (EditText) view.FindViewById(Resource.Id.lbltdApproveQuantity); 
    string str = edittext.Text; 
}

Problem is: I'm getting Old Value not getting latest Value which user entered.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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