Questions tagged as 'spinners'

2
answers

Recover Spinner position to use in another Spinner of another Acitivity

I have a note registration activity that has 1 spinner. In this Spinner contains card registration with IDCartão, title and description (Except in a "Card" table in the database). When you save this record from Notes in the "Notes" table, only t...
asked by 20.12.2018 / 01:07
1
answer

Fill spinner with SQLite data [duplicate]

I have an application with SQlite, I make a select to return the values of a field and save this in a variable. I wanted to use these values in a spinner, but it is not getting into the list but all the values in an item. Query in Sqlite to...
asked by 05.03.2017 / 03:49
1
answer

Populating Spinner

I have the following doubt I have to use some Arrays List in my project they are ... List Restaurant Dishes Restaurant 1 Dishes Restaurant 2 Price Restaurant 1 Price 2 Restaurant Within my Activity I put two Spinners one that will get the...
asked by 29.09.2017 / 15:28
1
answer

How to prevent onItemSelected from being called when using setSelection?

I have ListView and within each item it loads a Spinner with some information. The way I want it to work (Expectation): The first time you load Activity , display the user a list and within each item of it, have a Spi...
asked by 19.07.2017 / 15:48
2
answers

How do I set a value on a Spinners?

I have a formhelper that gets the value of Spinners and writes to the bank, but I can not load the bank's value into Spinners. How do I set the value? public Aluno getAluno(){ aluno.setNome(nome.getText().toString()); Log.i(TA...
asked by 06.03.2015 / 19:34
0
answers

Reload the Page (windows) during Button Click, Spinner stops working in WPF C #

I'm doing a WPF application in C #, which when I click the browse button in the database. It starts spinning a "Spinner" that is inside the UserControl; private void BtnBusca_Click(object sender, RoutedEventArgs e) { MessageControl.Visib...
asked by 05.07.2018 / 21:12
1
answer

Spinner Android Retrofit

Good morning I'm creating an app, and I need it to have a spinner, which pulls all the data from a column of the database. But it turns out that when I pull it back the data but only that it makes the list view get into several instead of throwi...
asked by 08.11.2017 / 13:50
1
answer

p: spinner Does not accept double

People, good night. I'm using Primefaces 5.0 and I'm having a problem with the component. Every time I try to put a floating-point value in it (25.43, for example) it changes only to the integer part of the value (25). Does anyone have...
asked by 21.09.2015 / 01:04
1
answer

List within the Spinner Layout

Hello, I would like to know if you have how to put the list that is inside Spinner directly in the layout. I usually do this: horario = new ArrayList<>(); horario.add(""); horario.add("Aberto Hoje"); horario.add("Não impo...
asked by 06.12.2016 / 03:36
1
answer

Error picking the selected item in a Spinner and showing in a Toast

I'm new to android and would like to know where the error is here. I'm trying to display list data with a Spinner component. The Activity is like this: package sucesso.com.br.testecomponentes; import android.support.v7.app.AppCompatActivit...
asked by 25.11.2016 / 20:00