Questions tagged as 'android-adapter'

1
answer

How to use viewPagerAdapter

I have an activity called "visas" within this activity I have 5 other calls (seen 1 to 5), I want these visas to be next to each other, being able to slide horizontally between them through the viewpager adapter, however I did not find any tutor...
asked by 19.07.2017 / 01:55
1
answer

ListView Background Color in Zebra

I have a layout with two EditText and an ImageView that will be added to the ListView via BaseAdapter. I wanted to toggle the background color of the ListView in zebra. The problem is that if the ListView has more than 9 lists the zebra effect s...
asked by 02.05.2015 / 22:13
1
answer

PTBR (Spinner) Firebase Exception: Found conflicting getters for name: getAdapter

I am making an application where I choose a number in the spinner and write that number in Firebase. is giving the following error: detailsaboutspinnerandhowIamwritingtofirebasespinnercarrinho=(Spinner)findViewById(R.id.spinner_carrinho);//C...
asked by 20.04.2017 / 19:39
0
answers

How to consume data online in an Adapter

With this Adapter code below I created a gallery that works without problem, but instead of drawing the Drawable images I want you to consume the images that are on the web. Does anyone know how I can get this result? public class GaleriaImage...
asked by 14.04.2017 / 15:59
1
answer

ListView update does not work

Hello, Can you help? In the search screen you are returning the data of the previous search plus the new search performed. The listView does not only update with the new search return results. I've already used listView.setAdapter(nul...
asked by 31.03.2017 / 22:12
0
answers

Repeated items with different amounts in a ListView

I have a Listview ( lsvProduct ) with some items that come from a request and an EditText amount that the user can change (by default, I bring the value of 0). When I add this item, I send it to another ListView ( Carriage ) with a similar struc...
asked by 12.04.2017 / 16:32
1
answer

When filling ListView it is empty

This is a shopping cart screen, where the purchased product is added to a ListView using an ArrayListAdapter. So far, everything is working. However each product contains a list of additional and / or removed ingredients, in undetermined number....
asked by 04.03.2017 / 22:39
2
answers

Recyclerview, problem inserting an item

asked by 16.03.2017 / 17:56
0
answers

Problem with RecyclerView

private RecyclerView recyclerView; private TreinoAdapter mAdapter; private List<Treino> treinos; private Long idCliente; private String escolhaSelect; @Override protected void onCreate(Bundle savedInstanceState) { super.onCre...
asked by 24.02.2017 / 20:10
0
answers

Know which checkboxes are selected in the adapter and perform operations on the activity based on the selected checks

Hello,Ihavealist(ListView)andwhenIselectoption1inmyspinnerit'svisibleinframelayouttoshowonthescreenacheckboxforcadadlistitemwith0pstatus,IwaswonderingwhichchecksboxsareselectedintheadapterforthatinactivityIcanincludeinalistandchangestatus.Thisi...
asked by 09.12.2016 / 18:10