Questions tagged as 'listview'

1
answer

How do I apply a currency mask in my listView? [duplicate]

I'd like to know how to implement my monetary mask on ListView of products. I ask that you be the most specific and detailed because I do not have much experience. Thank you. public class ProdutoAdapter extends BaseAdapter {...
asked by 18.01.2016 / 20:39
1
answer

How can I get the style effect of listView?

I have a layout and I want to display the data in this ListView but I need it to be white background without stripes and no click enabled when it is played. Can I do it this way ??     
asked by 31.01.2017 / 03:17
2
answers

How to set data correctly in Lisview?

Well, I'm getting a lot of asynchronous request on Android. I am requesting a list of states in JSON , via OkHttp , and transforming into ArrayList states to be able to set states in ListView . However, in all the ways I...
asked by 18.10.2016 / 03:01
2
answers

"Refresh" of the fragment with listview

I have a Fragment that, clicked on a RadioButton , a route is calculated, after this route calculation, a ListView is displayed with the results. By clicking on the other radiobutton option, the routes are calculated again...
asked by 16.09.2016 / 20:52
2
answers

How to change the color of a ListView item while it is being pressed?

By default, when you click an item, it changes color at the time of the click, however I've changed my listView and this click is not working. Does anyone know how to implement it if it is some view-ready method, an animation or some check with...
asked by 12.11.2015 / 19:34
1
answer

I can not see the ListView

#importandroid.os.Bundle;importandroid.support.v7.app.AppCompatActivity;importandroid.support.v7.widget.Toolbar;importandroid.view.View;importandroid.widget.Button;publicclassMainActivityextendsAppCompatActivity{@OverrideprotectedvoidonCreate(B...
asked by 22.10.2015 / 01:46
2
answers

Android, pick id of an item from a listView by long click

Does anyone know how to pull an ID of a ListView item through SetOnItemLongClickListener and could you tell me if this method would work with an item being displayed from the database ?? The Adapter code: public class ObjetoAdapter e...
asked by 01.06.2015 / 00:14
2
answers

Convert a bitmap image from a URL and set it to an ImageView

I would like to know how to set a URL in an ImageView variable, I do not know if I was clear? private final DisplayImageOptions options; public NoticiasAdapter(Activity activity, List objects) { super(activity, R.layout.noticia_list_ite...
asked by 13.01.2015 / 20:07
2
answers

How to pass data from one Activity to another [duplicate]

I'm creating an app for pizzerias in my city and I'd like to know if you can send data from a ListActivity that contains pizzas to another ListActivity so that pizzas can be added to the list of favorites. How can I do this?     
asked by 29.01.2015 / 22:47
2
answers

Pass information from a selected item in the list to EditText

Hello, I'm having problems when I select a client in a ListView , I have to pass its name to an EditText of the other Activity and pass the address too. But when I select the Client it is grouping the Name with the Address in the same line....
asked by 17.04.2014 / 20:32