Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question