1

I have implemented singletone service which processes all location change 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 I separate this service from activity it asks me to implement two more methods, which I'm not sure how to handle in my case:

public IntPtr Handle
{
    get { ... }
}

public void Dispose()
{
}

Please suggest.

4

1 回答 1

8

从 Java.Lang.Object 继承,一切顺利。

于 2014-10-31T21:30:57.363 回答