yea, i know, another thread about changing icons in osmdroid. But there isn't any good explanation available !
I made lot of research and it is a frequently asked topic. Why not make a clear answer at this point for all user who need to specify their own resources ?
All stuff available is to "Have a look at ResourceProxy.java" or "Pass the bitmap to constructor". No way, it doesn't work for me, I don't even know how a simple interface could find my drawable in my res folder ! I tried to pass some .PNG files with the same names as osmdroid (like "person.png") but when I run the app I have still the default resource.
Can someone explain clearly how to write "our own ResourceProxy" step by step ? Not brievely like that because I followed the steps and didn't manage to success.
I know that osmdroid was fixed recently in github but the .aar is older than the fix. Here you can find the Resource Proxy class.