A
A
Anton Agaltsov2015-12-02 11:50:11
Android
Anton Agaltsov, 2015-12-02 11:50:11

How are “complex” interfaces made in a mobile application?

Good afternoon!
Please tell me, recently "for the sake of fun" I began to deal with mobile development (so far under Android).
I faced such a problem as interfaces (news feeds) are made in the likeness of mail.ru or vc.ru news, habrahabra, mail softins in mobile applications (not advertising !!!).
I had 2 visions of the solution:
1) Several ListViews "one after the other", each aimed at output from its own adapter.
Here the question creeps in on me, but are these resources too capacious (memory in the first place)? won't it slow down if there are several ListViews on the same screen?
2) The second option is to make a single WebView and display data in HTML + JS.
But here the question arises, if in the ListView conditions I can load from SQLite, then JS from WebView does not have access to the SQLite database, and it will be necessary to write requests to the server, load JSON data each time.
I want to understand, not what is easier to do quickly, but what to do more correctly and more reliably. Ideally, hear the pros and cons of each approach, or even the third approach, which I did not think of.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2015-12-02
@IceJOKER

It depends on the specific case, there are places where a WebView is appropriate, and there are places where a ListView (or similar) is appropriate.
Several ListViews *one after the other* on the same screen are unlikely to be needed.
First, study how this or that component works, and then ask questions, if on the first day of studying this or that, start asking questions, then it will be a nightmare.
ps It was personally difficult for me to understand how the ListView works, and even now I can’t say that I know it completely, but at least I know how it works, for what purposes to use it, etc., experience ..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question