Busy working these days ~
Today took the time to deal with the framework of the bug a bit ~ ~ and the source code of volley changed a bit
Android MVP framework: Dileber (Https://github.com/dileber/dileber.git)
QQ Group of official communication: 171443726
I personally qq:297165331~~ have what problem also can consult ~ ~
Continue to explain Dileber's pictures under the tools
I changed the source code of Volley's Networkimageview ~ ~ to make the network request and picture requests in the framework go one interface
How do I use the tools to download pictures in Dileber?
For example the following ~ ~ ~
The first way is to embed this view in the layout file in Java code with findview~~~
<com.android.volley.toolbox.NetworkImageView android:id="@+id/networkImageView" android:layout_width="100dp" android:layout_height="100dp" />
The other is direct new out ~ ~
It's like saying crap.
And then you can write that in the code.
And there is a merit, is to assume that the view is not displayed in the case is not download the picture ~ ~ and there is a cache ~ ~ Saying this is volley credit ~~23333333
It doesn't seem to be clear: I'll make one more sentence.
The previous parameter is the network image address, followed by the default display picture of the picture is not requested
networkImageView.setImageUrl("url",R.drawable.ic_launcher);
Android MVP high-speed Development framework introduction (Dileber Use of image download tool)