I have a problem.
I have a dialog that has an EditText. The contents of this EditText I caught and put in a ListView, the error is that my variable that receives the contents of the EditText only receives null. move contents of dialog for the listview was to be quiet
code:[pastebin.com] [http://pastebin.com/MrNChnPt]
Instead of
txtNomedaLinha.Text
try
Item_ListView newItem = new Item_ListView (txtNomedaLinha.getText().toString());
There might be more going on there if you have other issues with layout and so on, but try this first and see what happens.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.