I'm iOS guy try to move to Android, I need someone to explain/help me what should I do in this situation. I have an app with tabhost fragment(3 tabs). At this moment, I just load 3 different simple fragments, it works fine.
Now, I want to implement MapActivity onto the first tab. Unfortunately, I can't extends it to MapActivity. It is currently extended to Fragment.
I searched over internet, but could find out the perfect solution work around it.
This link is one of solution, but it uses LocalActivityManager which is deprecated.
My question is Can I just load 2 fragments and one separate activity for map into fragment tabhost. If its possible, can you please walk me through how to implement that?
NOTE: I built my app tabhost fragment base on this tutorial.
Million thanks from me.