Questions tagged [spinner]
Spinner is a widget that allows the user to select an item from a group, like a dropdown list.
5,154
questions
0
votes
0
answers
8
views
Android: Why Spinner.setSelection does not show correct value in the UI?
I have a Fragment (A) with a Spinner containing a list of years. From this fragment I can open Fragment (B) to get information about the year selected in the Spinner.
Moreover, from Fragment B I can ...
0
votes
0
answers
23
views
Reverse Operation: Fetching Selected Data from JSON URL Using Spinner Positions for Database Upload
i want to do a reverse operation like i get the position of the selected items from the two spinners then going to the json url and get that selected data from "fr" array and "ar" ...
0
votes
0
answers
10
views
Link spinner to different radio buttons in android studio
This is a snippet of the code in my Main Activity.
RadioGroup radioGroup;
TextView TxtView;
Spinner spinner;
TextView result;
ArrayList<String> countries;
ArrayAdapter<...
0
votes
0
answers
15
views
Bind to spinners selecteditem
Is it possible to bind to a spinners selected item directly in the layout file?
I know I can bind a TextViews' text property directly to an EditText text property like this:
<EditText
android:...
0
votes
0
answers
9
views
Onclick of the button i should see the spinne rfor 2 sec before it will display the content !! Please point me the error or if possible fix it
I want to display spinners once i click the button
I have used react-spinners, but i am not able to fully implement this. Once i click on the button, i should see the spinner for 2 seconds and then ...
0
votes
0
answers
19
views
Using 1 spinner for multiple radio buttons
In my android studio, I have used 3 radio buttons, 1 button and 1 spinner. The output should work in a way that if one button is clicked, then the spinner should show 3 different options, and the same ...
0
votes
0
answers
19
views
How can I add a CSS spinner to a Clickdimensions submit button?
I am using ClickDimensions Widget to populate a form on our upcoming WP website.
The form is built using clickdimensions form designer, which allows to add additional JS and CSS.
I would like to ...
0
votes
0
answers
11
views
Searchable spinner stopped working after update to Giraffe
I have been using toptoche searchable spinner library sucessfully for a few years now, recent updates to Android Studio seem to have broken it. I have made no changes to the app, aside from updating ...
0
votes
1
answer
16
views
NullPointerException in Spinner onItemSelected
i get NullPointer in spinnerview onItemSelected
Error code
java.lang.NullPointerException: Parameter specified as non-null is null: method nh.nawafil.hidayatullah.release.ui.home.ui.nawafil....
0
votes
0
answers
8
views
Android Spinner selection /sometimes/ not showing or detectable
There are numerous questions on SO about spinner/drop-down selections not displaying, but this problem is a bit different as it is very intermittent.
The spinner in question work perfectly, and ...
0
votes
1
answer
23
views
Spinner arrow disappears when background is set to a custom spinner xml file?
I would like to add a border and rounded corners to my spinner, which I understand can be done by creating a separate custom spinner xml file. However when I do so, the spinner arrow disappears. This ...
0
votes
1
answer
35
views
How to customize the spinner?
I am creating a custom spinner with a custom background as that will hide the difficult dropdown, that's why I am setting a custom layout to show the dropdown. but when I am adding the adapter to the ...
1
vote
1
answer
18
views
Does Codename One's BrowserComponent have a built-in native loading spinner?
I have discovered that when using the BrowserComponent, when navigating from one section to another on my own website, that spinner appears. I would like to know if it's possible to configure it or ...
0
votes
0
answers
20
views
Spinner multi-choice in dropdown
I'm modifying an Android app, and they asked me to create some custom spinners. I made it without problem using an ArrayAdapter, and a Custom view.
But now, they are asking me to make a multi-choice ...
0
votes
0
answers
26
views
Customize DatePicker spinner
I'm pretty new to Kotlin & Android, and I have to create a DatePicker, ideally in Spinner mode, but I have too customize a bit this spinner. I neeed to hide the top and bottom of each spinners (to ...
0
votes
1
answer
34
views
Items Spinner Android Studio
I have created an AlertDialog with a textviews, button and SPINNER, the problem is that the drop-down list has a color that does not allow me to see the options and I do not know which parameter to ...
-1
votes
1
answer
32
views
Deploy a PR to Prod
I did a deployment for a PR which was several commits behind master to production(as I did not want to take a particular feature to prod). The deployment was successful and I could see the the correct ...
0
votes
0
answers
28
views
Why the spinner doesnt work on iOS browser
My spinner works good on desktop browsers, and Android mobile browsers, but i can't see it on iPhone. Please help.
<svg class="spinner spinner-main " viewBox="0 0 50 50">
...
0
votes
0
answers
26
views
Disabling a spinner depending on the position of the other spinner
I am making some UI as an intern.
however i ran into a problem, Note that im very new to kotlin.
If i pick a program or "My part" in the first spinner then the second spinner should be ...
1
vote
1
answer
152
views
SvelteKit loading animation
I found that sveltekit do load() function in .js file SSR-ly.
What i don't like is how they present the page even the load is not fully completed (even with .server.js).
Example weird animation page
...
0
votes
0
answers
15
views
android change row count in date picker spinner mode
By default date picker spinner mode show only 3 rows to select date. I want to change it to 5. Please help. Thanks
here only 3 dates are available to select, I want to increase it to 5
0
votes
0
answers
28
views
AutoCompleteTextView Dropdown Dismissal Issue with Drawable Button Click
I am creating a custom AutoCompleteTextView that includes a dropdown button. My idea is to combine the features of the AutoCompleteTextView and the Spinner here. I have implemented three listeners for ...
0
votes
1
answer
135
views
Show "loading" popup while page is generated
I'm trying to get a popup to appear while the app downloads data from the database and the page is generated/refreshed.
Maybe I lack the knowledge necessary to understand the order in which the ...
0
votes
0
answers
20
views
I have an Eclipse SWT Spinner widget format problem
I have a Java application which is based on a scrolled composite form. It is implemented on the Eclipse IDE. Each spinner is declared in the same way, an example being:
Spinner spCh1;
spCh1 = new ...
0
votes
0
answers
75
views
Android Spinner Itemselected method not fired
I've got this Android application build in C#
There are a few spinners on the layout, on which ItemSelected methods are attached. For some reason the methods are not fired when I select an item
This ...
0
votes
0
answers
38
views
Mui Material CircularProgress Area
I am using this official guide to make a facebook like spinner.
but the problem is that I want to reduce the blue(on top) CircularProgress's circle area(or value). Basically I want the blue spinner ...
0
votes
1
answer
26
views
How to Retrive Firebase key value based on spinner selection
I have a set of course details stored in the firebase Realtime Database. I have retrieved the course names into a spinner for user selection of a particular course. I wanted to get the key (course ...
1
vote
1
answer
61
views
How can I add a loader page to my Gatsby.js site?
I created a portfolio website using gatsby and react.js but when someone tries to view it for the first time, it lags on certain css transitions and images causing it to look weird. Afterwards, when ...
1
vote
1
answer
46
views
Spinner - onItemLongClick never executed
I have this code
spinner.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() {
@Override
public boolean onItemLongClick(AdapterView<?> parent, View view, ...
0
votes
1
answer
45
views
Android Spinner. White text on black background
Help!!!
Spinner 1:
here is the xml of the Spinner I have, Its with white background and black text color for the items. I want it to have a Black Background with white text.
XML:
<Spinner android:...
0
votes
0
answers
55
views
<Link> tag doesn't trigger router events properly for my spinner loader in NextJS
function Loading(){
const router = useRouter();
const [isLoading, setIsLoading] = useState<boolean>(false);
useEffect(() => {
const handleStart = (url : any) => (url !== ...
0
votes
0
answers
28
views
Spinner not showing options from array in kotlin spiner
Spinner doesn't show options in kotlin fragment. There is AlertDialog that cotains this spinner but it's different xml file with HomeFragment
The code is below
class HomeFragment : Fragment() {
...
0
votes
0
answers
77
views
Loading spinner for Xamarin Forms without User Controls
I am currently searching for a fast loading spinner / Activity indicator in Xamarin Forms without adding user control to XAML. We would need support for Android, UWP and iOS.
Any other ideas? All ...
0
votes
1
answer
109
views
Insert spinner on function javascript
Insert spinner on function JavaScript.
Hi everyone, I'm taking my first steps with JavaScript and I find myself unable to insert a spinner
I wrote the following code, could you help me understand the ...
1
vote
1
answer
32
views
How to set default value of spinner with string from Firebase Database?
I have a form that saves information to Firebase and when the user returns to the form they can edit the information that was saved, because I returned the values as Strings back to the form. Now my ...
0
votes
1
answer
47
views
How to set values of a Spinner object with an Array List of String elements?
I am trying to set the values of an Spinner with an Array List but it only works with the function "arrayOf()".
I tried converting the List to Typed Array bit it didn´t work.
It seems that ...
0
votes
1
answer
46
views
svg spinner / loader not displaying-on mobile browsers
The svg spinner is displaying correctly in desktop firefox and chrome but not in chrome or firefox mobile browser. Does anyone have a solution for this?
const Spinner = () => (
<svg
xmlns=...
0
votes
2
answers
201
views
SwiftUI on macOS - Cannot scale a ProgressView with a smooth, centered animation
I'm wondering if someone can help me understand why the animation that results from the below SwiftUI code is glitchy. Here's the code:
struct ProgressViewAnimationGlitch: View {
@State private ...
0
votes
0
answers
52
views
Add a span element to my button in order to display spinner
I have this button in a table:
<td><button type="button" class="btn btn-primary" id='buitton1" ?>'>Edit</button></td>
I would like to add the ...
0
votes
1
answer
50
views
Kivy: Add textinputs when a value is selected on a spinner
I've tried something like this, but I was wondering if there was a better way to do it.
(In addition, I don't get how to place the textinput under the spinner)
Python file :
from kivy.app import App
...
1
vote
1
answer
109
views
Circle border gradient color in HTML CSS [duplicate]
I made a circle border animation for loading by html and css:
<div class="spin"></div>
@keyframes spinner {
0% {
transform: translate3d(-50%, -50%, 0) rotate(360deg);
}
100%...
0
votes
0
answers
87
views
Flutter App Circular Progress Indicator Broken
I am developing an app in flutter, and have a big problem - when I restart my code, it takes like 10-20 seconds for the main page to show, which usually wouldn't be a problem, except the circular ...
1
vote
1
answer
32
views
Dependable spinner in Fragment
I'm trying to create dependable spinner in Fragment.
There are 2 spinners and value in the spinner7 depends on value in spinner3
public class PageFragment1 extends Fragment implements AdapterView....
0
votes
0
answers
34
views
Spinner is not keeping chosen value in fragment
I'm trying to create app which has 3 fragments (pages). Inside each fragment I have several spinners (options to chose). User can chose different options and depending on combination of these options, ...
0
votes
1
answer
61
views
Multiple spinners and conditions inside a fragment in android, java
I'm trying to create app which has 3 fragments (pages). Inside each fragment I have several spinners (options to chose). User can chose different options and depending on combination of these options, ...
0
votes
1
answer
27
views
.py list won't populate a spinner value in a .kv file using kivy/python
I'm completely stumped. I am populating a value attribute in a .kv file with a list from a .py file.
.kv file
Spinner:
id: Mix_ingredient_1_spiner
...
0
votes
0
answers
26
views
Can't use list in ,py file to populate a spinner in my .kv file
I want to populate a spinner in my .kv file by using a list in my .py file. None of the other suggestions here work.
new_window.py
class Product_1_Mix(Screen):
self.root.ids....
0
votes
1
answer
62
views
how to display a spinner over a background image android studio
I'm trying to add a spinner over a background image. I don't know why it doesn't display over this image. It display but under the image. I have to put it in the foreground.
Here is the spinner :
And ...
0
votes
0
answers
55
views
Android Spinners stop working sporadically
I have written and published an app “Sensor Recording” which reads out and displays the measured values of some sensors (position, acceleration, orientation, pressure, etc.).
In one of the activities ...
0
votes
0
answers
80
views
WifiUtils .scanwifi fuction doesn't work in Android Kotlin the wifiscan function outputs nothing in the log
I'm actually building my application mobile on Android and trying to fix this issue, actually i want the spinner to show the results of the wifi search and be able to select it and connect it later, ...