Ognjen Dragoljevic

Results comments of Ognjen Dragoljevic

This is a good question. I've spent a fair amount of time thinking about whether to expose this or not, and concluded that it is better not to do that....

Yes, but then someone will build a controller, again "just with the uri", and ask why `SimpleDraweeView.getImageURI` doesn't work. We can reconsider adding this functionality, but can you give us...

It seems that you have some sort of slide show and to display the next image you need to know what is the currently displayed one. Given that you already...

Yes, the default network fetcher provided by Android doesn't handle redirections automatically. We do provide OkHttp integration for Fresco, which does that. See http://frescolib.org/docs/using-other-network-layers.html#_

We don't use `OkHttp` nor `HttpURLConnection` within the Facebook apps. But in order to be able to open source Fresco as a complete solution, we provided two additional network fetchers:...

Hi. No, this is not a proper way of doing it as the source bitmap can be recycled immediately after this method finishes. I'd strongly suggest that you don't deal...

I wouldn't use `UiThreadExecutorService`. You have two options: 1. You can use some background executor. Once the pipeline has the bitmap ready, it will execute your callback on that background...

There is no way (as far as I know) of PorterDuffXfermode being sufficient to draw rounded corners (unless, of course, a temporary bitmap is being used). I've seen some attempts...