A
A
Alexander Shapovalov2015-07-06 07:56:55
Java
Alexander Shapovalov, 2015-07-06 07:56:55

What is the best way to generate views from JSON for Android?

What is the best way to generate views (images/buttons with text, etc.) from JSON for Android? I receive a response from the server in JSON, parse it, then the task is to generate a view in order to subsequently set the text and identifiers obtained from JSON to the elements, I learned how to create static views, now the task is to make infinite loading when scrolling and adding elements to the layout. That is, adding new elements from the code to the view and then processing their clicks. Does anyone have any ideas or examples for solving this kind of problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Emin, 2015-07-06
@shapovalov_org

For example. In general, read about AdapterViews, and how to correctly fill them with data through the adapter.
UPD: How AdapterView works

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question