In a dialogue with one of the developers, he told me the "plot":

There is a static recyclerview with many categories where data is stored in the device. After selecting a category, it is replaced by the Maps fragment, from where the database by sorting parameters fills the map.

My thoughts:

I suggested that it is still better to click on each item in the recyclerView to open the activit, which will contain the map.

Secondly, for each category it would be correct to fill the map with the parameters using the database, but since writing from scratch is still complicated for me, I would like to resort to the help of services. And I came across the following: Parse (which, as I understand it closes on January 27), Azure (I can't say anything about it), well, in my opinion, the favorite FireBase (which many people are now trying to embed in their applications, because) It can be serviced by apps at 100%).

Approaching the idea, I conclude that I need to somehow store the data in JSON and then parse it. Perhaps there are comments / tips, please in the discussion.

Just starting to delve into working with maps, so I will be extremely happy with any useful resources for examples.

    2 answers 2

    Well, yes, that's right. You store Json on the FireBase server, read it and click on the description and coordinates to activate the map. I did this myself. The only thing Firebase has is limited free rates.

    • Any calculations from the code are possible, for a greater understanding of what is what? It would be useful both for me and for future readers. - Morozov
    • No problem, what exactly interests you, write, I will show. In fact, the logic is this - the usual RecyclerView read json from FB, then putExtra to the next one, and open it there like any other coordinates. There is no particular difference in how to receive data. - Romanych

    1 question: it is more logical to launch a new activation, if it should look like a transition to a new screen. Your case implies this. 2 question: (I may not fully understand the question correctly) data sampling from the database should be by parameters

    • @ pavel163 updated the question) - Morozov