Questions tagged as 'customadapter'

1
answer

Change list background color (AlertDialog) when selecting an option, and keep it when reopening

I have doubts about how to do a alertdialog custom, where I can make that when I select an item of the alertDialog when I reopen it has the background of another color, indicating that this item was selected, and if I select another item,...
asked by 06.09.2017 / 06:30
1
answer

How to update adapter data when editing text from a recyclerview

Good afternoon, I'm new to the forum so I apologize if I'm wrong with the question or it's a very silly question. It turns out that I am making an application and I have a recyclerview where it has a edittext which carries the q...
asked by 08.05.2017 / 23:50
2
answers

setOnItemClickListener does not run in the fragment

I am using a GridView within a RelativeLayout that contains an image, a checkbox and a textview. I use an adapter to select or deselect the checkboxes. I use a fragment to show the GridView. The checkbox is selected / deselected by touching it o...
asked by 13.07.2018 / 00:18
1
answer

Problem with android custoadapter

I have a customadapter in which I charge customer details. The detail that I have is that I have a edittex in each item that I show me information and a client may have 10 details or sales notes to apply a payment the det...
asked by 06.01.2017 / 00:00
0
answers

ListView shows 1 item only

Wenas People, I have a Fragment where the listView is. And I do not understand why it does not add to the list. I'm going to try to be as clear as possible in the code because I can not think of anything else anymore. When I debug it appears tha...
asked by 12.12.2018 / 04:57
0
answers

Edittext on base adapter

I have a custom adapter with text boxes, but when there are many and I select one, I get the keyboard and automatically selects or closes the keyboard and does not save me what I capture on the keyboard.     
asked by 23.10.2018 / 20:08
1
answer

Problem with a CustomAdapter

public class Adaptador_calidades extends SimpleCursorAdapter { private Context mContext; private Context appContext; private int layout; private Cursor c; private final LayoutInflater inflater; int xCajas, xPeso; double xPrecio,xFinal; public Ad...
asked by 22.11.2017 / 21:25