Questions tagged [networkimageview]
119 questions
22
votes
10 answers
How to Show an Local image till the NetworkImage() Loads Up in flutter?
new CircleAvatar(
backgroundColor: Colors.black87,
backgroundImage: new NetworkImage(url),
radius: 45.0,
)
I Want to…

Ajay Kumar
- 15,250
- 14
- 54
- 53
14
votes
4 answers
display NetworkImageView's default image without network request
I have a ListView displaying things, many of which have an illustrative image and some of which don't. The ViewHolder uses NetworkImageView to display the illustrations.
The problem is that even if a default image is set, it won't be displayed…

Turnsole
- 3,422
- 5
- 30
- 52
11
votes
9 answers
Attempt to invoke virtual method 'int java.lang.String.hashCode()'
I'm trying to load images from URL into girdview using Volley Library. For this I'm following this tutorial. When I run my project, it collects all URLs from server database and then store in arraylist. But doesn't displays images. And I am getting…

Ruchir
- 1,086
- 4
- 24
- 48
9
votes
3 answers
Flutter app crashing issue while rendering large number of images at a time
I want to discuss about problem I'm facing in a flutter app.
The app is a social E-Commerce app with layout like Facebook or Instagram. I am using pagination of 10 posts with multiple images max 4 per post like a grid view.
When i scroll upto 5-8…

Habib ur Rehman
- 438
- 3
- 12
8
votes
1 answer
How to fix pixelated image in Flutter
I want to create a rounded image widget, but it ends up pixelated.
With Image.network(url), I get the following:
while the original looks like this:
Here is the relevant code:
class RoundedImage extends StatelessWidget {
final String URL;
…

Emil Djupvik
- 101
- 1
- 6
8
votes
2 answers
try/catch not working on network image (Exception: Invalid image data)
I have get network image and used ternary operator where I can show network image but unable to show default asset image where network image is invalid default image in grid also as this-
I am new to flutter
image: NetworkImage(products[index]
…

Raman Plaha
- 113
- 2
- 2
- 6
7
votes
8 answers
How to create round corner image using volley library android
I am getting image urls from server with square shape I have to make it to rounded corner images.Actually I am using volley library ,I know how to create round corner images using universal image loader and picasso libraries.In volley library I am…

skyshine
- 2,767
- 7
- 44
- 84
7
votes
2 answers
Adding Authentication Headers to NetworkImageView in Volley
I use Volley and NetworkImageView. This has been working great for several projects. However I need to send auth token in headers for my image request right now. What is the best way to do this? In my normal requests I override getHeaders() and put…

Leo
- 4,652
- 6
- 32
- 42
7
votes
1 answer
Volley : Image Caching
I am new to work on Volley and on caching too :P. Though I have already gone through a number of articles & posts related to Image Caching with Volley but I am still not clear with the best/preferred way for Image Caching with Volley. Like disk…

arorak
- 382
- 1
- 4
- 12
7
votes
2 answers
OOM when using NetworkImageView ( of Volley library)
Background
Using the Volley library's NetworkImageView is a convenient way to handle showing images from the web.
However, it has some bugs (as i've written here).
the problem
One of the issues that you can have by using it is that it doesn't…

android developer
- 114,585
- 152
- 739
- 1,270
6
votes
1 answer
networkimageview to display image in offline mode? after kill the application and reopened. Like the facebook app does
I referred android developers site and created the volley NetworkImageView with singleton class. But its not maintaining the cache image after the force close of the app and again open my app in offline. how to make the network image view to get the…

Stephenraj
- 761
- 9
- 17
6
votes
3 answers
Let Volley's NetworkImageView show local image files
I am using NetworkImageView to show some covers downloaded from a remote URL and I successfully manage to cache and show them, but I want to let users set their own cover images if they want.
I tried to use setImageUrl method with…

Vektor88
- 4,841
- 11
- 59
- 111
5
votes
1 answer
ScaleType in ImageView not working
I am trying to make a gallery of images using ViewPager and Volley's NetworkImageView. Everything is working fine with the viewpager and image retrieve. But when i put the bitmap in the NetworkImageView, the image is not stretched to fill the size…

user3576118
- 375
- 1
- 5
- 24
4
votes
1 answer
How to download image using volley and store in cache while image not in use
I am using volley library to download network responses. I know volley download images when it is needed only. But what I want to achieve is to download all the images at a time and store in my cache memory.
So basically I want to download all the…

Kunu
- 5,078
- 6
- 33
- 61
4
votes
3 answers
Android: Show loading symbol in Network ImageView
I am using NetworkImageView from Volley library to load images.
But while the image takes time load from a URL I want to show a spinning/moving loading symbol in the image container.
I tried using the setDefaultImageResId() function to set a…

Dragon
- 423
- 9
- 18