Implementing ILocationListener without specific Activity at Xamarin.Android app -
i have implemented singletone service processes location alter events.
public class locationservice : ilocationlistener { public void onlocationchanged(location location) { } public void onproviderdisabled(string provider) { } public void onproviderenabled(string provider) { } public void onstatuschanged(string provider, availability status, bundle extras) { } }
but now, when separate service activity asks me implement 2 more methods, i'm not sure how handle in case:
public intptr handle { { ... } } public void dispose() { }
please suggest.
inherit java.lang.object , go.
android xamarin monodroid location-services
No comments:
Post a Comment