Sriram Shanmugasundaram
Newbie
How to call a singleton class from fragment in android studio?
This is my code.
MySingleton is the class here.
MySingleton.getInstance(MapsFragment.this).addToRequestque(jsObjRequest);
The compiler shows "get instance in MySingleton cannot be applied to MapsFragment.
How to solve this?
This is my code.
MySingleton is the class here.
MySingleton.getInstance(MapsFragment.this).addToRequestque(jsObjRequest);
The compiler shows "get instance in MySingleton cannot be applied to MapsFragment.
How to solve this?