paulsUsername

Results 30 comments of paulsUsername

Still leaking for me in Leak Canary despite callback being removeLocationUpdates and locationCallback being set to nil. Does anyone have an example in kotlin for WeakReference?

I've used weak reference, still leaking: `mFusedLocationClient?.requestLocationUpdates(locationRequest, WeakReference(locationCallback).get(), null)`

I have to say, I can't see how this is expected behaviour. It is a silly problem that should be solved by now!

> > I've used weak reference, still leaking: > > `mFusedLocationClient?.requestLocationUpdates(locationRequest, WeakReference(locationCallback).get(), null)` > > You got wrong with using java `WeakReference`, You have to create a LocationCallback subclass which...

You need to use the following method to get callbacks: ``` func fusumaMultipleImageSelected(_ images: [UIImage], source: FusumaMode, metaData: [ImageMetadata]) { } ``` Note that this method has metaData property. There...

Yes, I am getting the same issue. I have a CircularProgressButton inside a DialogFragment. It appears that it is only observing the lifecycle of the underlying activity, therefore, it crashes...

I have resolved this issue by adding the bottom programmatically and passing in the context of the Dialog Fragment instead of the activity context it seems to be receiving via...