I want to create a custom container for Android. Where I can easily add and remove objects. The container must place objects inside the hexagons. The order in which the locations of the objects are really important is shown in the image below. Objects in this adapter are clickable ImageViews (circular). Can you even do something similar for Android?

I know that there were similar questions, similar to mine, but not even close to what I want to achieve.
Probably more and more people are looking for additional custom containers like the one I'm trying to make. Not standard, as in other applications: GridsView, ListView, etc.
What i have already done
I decided to use RecyclerView and custom RecyclerView.LayoutManagers. Also write an ImageViews positioning algorithm. Unfortunately, I am not familiar with LayoutManager and donβt know how I can determine places using the interface.
Recyclerview
Here is the algorithm:
List<Object> list; int nuberOfElements = list.size(); int layerNr = 0; int radius = 0; int angle = 0;

Minis source share