Issue
I'm using a fragment for map which I'll use in main activity. But when I pass getContext() as argument, this is not working and showing me the following error. Please help to get rid of this.enter image description here
Solution
You must use getActivity()
instead of getContext()
.
Answered By - AlexTa
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.