piruin / spinney

Android spinner with Super power!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spinney

Build Status Download license

Android spinner with Super power!

Getting Started

Download

  • Step 1 - set JCenter repository (This step not require for modern android project)
  • Step 2 - Add dependencies on app module
dependencies {
  compile 'me.piruin:spinney:VERSION'
}

Use with Kotlin

With kotlin, Because of Spinney's generic type make kotlin-android-extension can't synthetic it properly, I recommend to initialize Spinney with Lazy. see example

class AwesomeActivity : AppCompatActivity {
  val awesomeSpinney by lazy { findViewById(R.id.awesomeSpinney) as Spinney<Awesome> }
  ...
}

License

This project under Apache 2.0 license

About

Android spinner with Super power!

License:Apache License 2.0


Languages

Language:Java 100.0%