Awesome
Spinner2
Spinner2 is a re-implementation of the default Android's spinner, with a simple way for control selection behavior.
<h3>Supported features</h3>- Enable/Disable autostart call <b>
onItemSelected(AdapterView<?> arg0, View arg1, int position, long arg3)
</b> after adapter is assigned: <b>spinner.setAdapter(adapter, withAction);
</b> to a widget - Enable/Disable call item click action after calling <b>
spinner.setSelection(withAction, pos);
</b>
where <b>withAction
</b> is a boolean flag for enable/disable call item click action
repositories {
maven { url "https://jitpack.io" }
}
Step 2. Add the dependency in the form
dependencies {
compile 'com.github.scijoker:spinner2:1.0.1'
}
<h3>How to use</h3>
Example in <b>app
</b> module
License
Copyright 2015 Andrew Prayzner
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.