EDITED MY QUESTION:
I've been working on my first ever programming and Android project.
In the following code I receive a:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.google.gson.JsonElement.toString()' on…
I use Ion library to receive data from server. I have problem, that my code makes get request multiple times, so I have data duplication in my list.
My adapter code:
public class ArticleAdapter extends ArrayAdapter {
Future>…
My application keeps crashing every time I try to use the PhotoViewAttacher on my application of the PhotoView library. I'm using ION to display images and trying to get the PhotoView library to allow me to zoom into them. My code currently…
I want to check if an image is in the cache of Ion before calling to load so I don't set the in animation.
Ion.with(view).animateIn(animation).load(url)
alternatively is there another way to only do the animation when the image is loaded from a…
I'm trying to track down lost RAM in the Android kernel, and I see from the post below that the ION drivers keep track of this.
What is the concept behind “Lost RAM” which appears in Dumpsys meminfo?
Can someone tell me how to enable ION driver…
I am using ion library for network operations in my app. (https://github.com/koush/ion) I have a question about this.I am downloading data from my server with ion,and in onComplete method I am saving this datas to app database.Do I need use a new…
My situation is when I post a jpg file to my Sails server in Android with Ion, it went timeout. Here is my code:
Android:
Ion.with(ctx, URLConstant.getURL(URLConstant.URL_TYPE_UPLOAD_AVATAR))
.setMultipartFile("avatar", new…
I am trying to upload image file to my server with ion library.I am using following code
Ion.with(this, "upload_url")
.setMultipartFile("imagefile", "image/jpeg", new…
I'm using Koush's terrific image loading library, Ion, but I want to be able to persist images on disk across application launches. This is to avoid reloading images from the network when the app exits and restarts. Currently, it appears the cache…
I dont know why this is happening: After loading the image with the Ion library, my image shows two white bars below and above image. I don't want to have that.
My ImageView is displayed in a listview item. My adapter code looks like this:
if…
Trying to insert and image to Rounded Image using RoundedDrawable Class (Got it from https://github.com/vinc3m1/RoundedImageView).
The image is from a URL. If I use Koushik dutta's ION library for the image loading part I get the following error:
…
I am using Ion library to upload image to web server.But when ever i try to set the parameters using setMultipartParamter i am getting null values.Why this is happening.
Code
…
I m facing a problem when I want to load images from an adapter using the ion library.
In fact, I have items with a string corresponding to the url of the iconic image that I want to load for each item on my gridview.
The problem is due to the…
I'm interested in using Ion/AndroidAsync for the "backend" of an Android app. I don't want to make long running calls tied to an Android component, so I have a background layer that stays alive as long as the Application is alive. This background…
I have a cookie from the server and I save this cookie in a Shared Preference. When I send requests to the server from Ion library it goes right because I'm logged in the app and Ion has this cookie. And when I close the app and re-open, Ion has my…