I have a fragment with one editText
<EditText
android:id="@+id/textViewName"
/>
I want to change its text at run time .
How can i access edit Text so that i can change its text?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Inside
onCreateView(), you can find out particular view by inflating your layout.Or
you can use
getView()if you don’t want to inflate, it will return root view of the fragment.