Questions tagged as 'volley'

1
answer

Maintain the position of a RecyclerView when I add data

Good I have a problem that when adding data sends me to the beginning of the recycler when in fact what I want is to keep in the current position. This happens every time the user fills the end of the foot to load more data from volley .. &...
asked by 27.10.2018 / 23:04
1
answer

com.android.volley.ClientError

I have this problem: using volley to connect to an ASP.Net web service in this way, I jump to the onErrorResponse with the message "com.android.volley.ClientError " In local yes it works for me requestQueue = Volley.newRequestQue...
asked by 23.04.2018 / 11:41
2
answers

Consume Json object nested inside another object using Volley

Dear liking in greeting you, I am trying to consume an object Json through Volley using Android , however I only get to consume a part of Json . I am new to this, I hope you can help me, Thanks in advance.    ...
asked by 27.09.2018 / 19:57
0
answers

Volley Headers Customs Java Android

Testing in my app I notice that the headers of my app do not reach the server, I have the following method private ObjetRequest<BaseRequest> objectRequest; objectRequest = new ObjetRequest(1, "", BaseRequest.class, "", new Respo...
asked by 14.02.2018 / 21:15
1
answer

Volley gives me the following error JsonObjectResquest

I'm working with Volley but I get an error when using it in the method. Can anybody help me? Thanks: public void sendResponse(){ RequestQueue requestQueue = Volley.newRequestQueue(this); JsonObjectRequest jsObjectRequest = new...
asked by 17.01.2018 / 13:25
1
answer

Fragment Volley

Why this code works properly for me if it is an activity and if it is a fragment, it does not give me errors or show me anything, is it just the progressbar? class FragJornadaActual1 : Fragment() { val TAG = "json_request" val URL = "...
asked by 17.01.2018 / 10:32
2
answers

Get data in response json using Volley [duplicate]

I have this method that connects to an API, basically it should show me a result in a textView, but it shows nothing and I do not know why. Thanks. public void sendResponse(){ String url = "http://www.amiiboapi.com/api/amiibo/...
asked by 17.01.2018 / 23:26
1
answer

VOLLEY Android Asynchronic

I have the following method that brings me a balance String rq = RequestManager.accountBalance(numeroTelefonico); GenericController gC = new GenericController(true); gC.accBalance(this, rq, new Response.Listener<AccountB...
asked by 23.01.2018 / 15:34
0
answers

Return Bitmap from an onResponse within another onResponse with Volley

I need to return a bit map that is inside an anonymous function and does not allow me to return it. What I need is to return it to add it to an object and then to an array list within another function. Here I show you. This is the first onRes...
asked by 03.12.2018 / 13:17
1
answer

Error using Volley in Android Studio

Hello as I understand to send a url to a web service parameters are used to use them in the query to the database. But in the case of wanting to bring everything from a table and not send parameters how would the JsonObjectRequest be used? Thank...
asked by 22.11.2018 / 17:53