How to design a picture loading frame?
We need to set the url to get the image. Maybe we have to set it to the View. We may also customize different caching and loading strategies. We have to provide corresponding methods, so we need to use this model to simplify the call chain. We also need a listener. The device allows users to expand on their own. After getting the url, the framework will encapsulate the Request request and throw it into the blocking queue, and then the request forwarder will continue to get the request and forward it to different loaders to obtain pictures. After the loading is completed, it needs to be cached according to different cache strategies.
How to design a picture loading frame?
Guess you like
Origin blog.csdn.net/weixin_43860530/article/details/105564658
Recommended
Ranking