A
A
Artem2016-07-25 22:50:28
Android
Artem, 2016-07-25 22:50:28

Creating an Android application with many pages. How to do?

Hello! I need to make an application with a lot of pages. Pages can have categories and subcategories. How can this be implemented?
I see only this option:
I'm making a site where I will post articles and adding an API to it. The application, when launched, will receive a list of categories and the articles themselves. (WebView does not fit)
Or in android studio create 100500 views with text? (which I don't really like)
Maybe there are some special frameworks? Still, I want to make it easier to add new pages to the application.
Please note that I am a person far from android development, but I know (at the initial level) java.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2016-07-25
@IceJOKER

You write a backend for the application, a small API that will issue categories, articles.
And in the application itself, you download, cache and show it to the user.
To work with api, you can use the Retrofit library, you can use RxJava in conjunction (a little difficult, so if you don’t need it, you can skip it).
Well, Activity / Fragment for output.
Create two Activity Category / Items and two fragments for them, so that you can have a selection of categories side by side on tablets.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question