Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

io.apptik.widget:multiselectspinner

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io.apptik.widget:multiselectspinner

Multi functional and selectable spinner for Android

  • 1.0.12
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

multiselectspinner

Build Status

Multi functional and selectable spinner for Android

##Download

Find the latest JARs or grab via Maven:

<dependency>
  <groupId>io.apptik.widget</groupId>
  <artifactId>multiselectspinner</artifactId>
  <version>1.0.11</version>
</dependency>

or Gradle:

compile 'io.apptik.widget:multiselectspinner:1.0.11'

Downloads of the released versions are available in Sonatype's releases repository.

Snapshots of the development versions are available in Sonatype's snapshots repository.

Maven Central

multiselectspinner requires at minimum Java 7 or Android SDK 15.

Example

  • specify in your layout
    <io.apptik.widget.multiselectspinner.MultiSelectSpinner
        android:id="@+id/multiselectSpinner"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        /> 
  • add in your code
 ArrayList<String> options = new ArrayList<>();
 options.add("1");
 options.add("2");
 options.add("3");
 options.add("A");
 options.add("B");
 options.add("C");
 MultiSelectSpinner multiSelectSpinner = (MultiSelectSpinner) v.findViewById(R.id.multiselectSpinner);
        ArrayAdapter<String> adapter = new ArrayAdapter <String>(getActivity(), android.R.layout.simple_list_item_multiple_choice, options);

        multiSelectSpinner
                .setListAdapter(adapter, "All " +
                        " Types", "none", new MultiSelectSpinner.MultiSpinnerListener() {
                    @Override
                    public void onItemsSelected(boolean[] checkedItems) {
                    }
                })
                .setSelectAll(true)
                .setMinSelectedItems(1);

FAQs

Package last updated on 05 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc