How To Set Text In An EditText with Sting object
I have a String object and I would l开发者_Go百科ike to set the text in a EditText object. Can this be done
Yes, this can be done.
editText.setText(string);
myEditText.setText("some text")
That method is inherited from TextView
http://developer.android.com/reference/android/widget/TextView.html
I don't really know how you mean. It looks a bit trivial..
Is this what you're looking for?
editTextObject.setText(stringObject.text);
If not please be more precise.
精彩评论