Comments (7)
What are you talking about prompt? I'm confused by what you mean.
Original comment by [email protected]
on 11 May 2012 at 2:24
from alternate-java-bridge-library.
Prompt as in the text that is first displayed on the dropdown before something
is chosen. after it is chosen, i tell it to set text (sorry should have said
text instead of prompt) to the choice the user made.
before they choose anything though, it should be using what i have chosen in
the GLE to be the text something like "please pick a choice" should show.
Instead, if the choices are (choice 1, choice 2, choice 3, choice 4), it
dispalys "choice 1"
Original comment by [email protected]
on 11 May 2012 at 2:37
from alternate-java-bridge-library.
Ok, after looking in the class, I just never noticed the prompt thing. I'll add
a method in the next version. For now, you can use
dropdown.getView().setPrompt("This is my prompt");
Original comment by [email protected]
on 11 May 2012 at 2:52
- Changed state: Started
from alternate-java-bridge-library.
Sorry, you have to cast it, this is the correct line:
((Spinner)dd.getView()).setPrompt("The prompt");
Original comment by [email protected]
on 11 May 2012 at 3:01
from alternate-java-bridge-library.
So first I want to say Thank you, as I did not notice the Prompt either...that
is not however what I originally was reporting. I should have included
pictures (which I will from now on). Please see screenshots
Original comment by [email protected]
on 12 May 2012 at 2:47
Attachments:
from alternate-java-bridge-library.
That's been there the whole time. Use setSelection(String element) to set the
default selection.
Original comment by [email protected]
on 22 May 2012 at 7:07
from alternate-java-bridge-library.
Original comment by [email protected]
on 22 May 2012 at 7:22
- Changed state: Done
from alternate-java-bridge-library.
Related Issues (20)
- Camera, which is a non-visible component is missing a constructor for FormService HOT 1
- Please change Events to use Event String on New Form creation template HOT 2
- HashMap.containsValue not returning true when it should HOT 6
- FileUtil.getFilePathFromImageContentUri crashing HOT 1
- Please adjust Notifier HOT 2
- Enable multiplier use in the GLE HOT 1
- Please make all components LONG clickable HOT 2
- DateSet event missing from events string HOT 2
- Please adjust the EventDispatcher.registerEventForDelegation command to make it more user friendly HOT 1
- TextBox getView and casting to EditText doesn't work HOT 2
- Added DecimalFilter class HOT 1
- Added ability to extend ListPickerActivity HOT 1
- Added features to AltRandom class HOT 1
- StopWatch not "Stopping" properly and starts as soon as it is instantiated HOT 5
- Please add Object[] to String[] conversion in the Convert class
- DateSelector and TimeSelector fire dispatchevent TWICE HOT 3
- Image Picture URL causes NetworkOnMainThreadException HOT 3
- Notifier - Add ShowAlertShort to show a short toast message DONE - PLEASE ADD TO BRIDGE HOT 1
- Rotary Dial Component
- AltRandom additions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alternate-java-bridge-library.