I am pulling my data from a database and I am using json. What methods should I use in order to print them on texview items of my xml file, because I am little bit confused.
Share
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.
If you have the JSON already wrapped as an java Object, then you can do this to get the textview in your Actvity and set your text:
myTextView should be the ID fof your textview in your XML layout.