All Projects → jaiselrahman → Hintspinner

jaiselrahman / Hintspinner

Licence: apache-2.0
An Android Spinner lilbrary with Hint/Header

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Hintspinner

Smartmaterialspinner
The powerful android spinner library for your application
Stars: ✭ 108 (+285.71%)
Mutual labels:  spinner, hint
Machdump
A very basic C Mach-O Header Dump tool written for practicing purposes. Works With x86 and x86_64 binaries
Stars: ✭ 25 (-10.71%)
Mutual labels:  header
Progresskit
Progress Views for Cocoa
Stars: ✭ 510 (+1721.43%)
Mutual labels:  spinner
Whirl
CSS loading animations with minimal effort!
Stars: ✭ 774 (+2664.29%)
Mutual labels:  spinner
Ngx Spinner
A library for loading spinner for Angular 4/5/6/7/8/9/10.
Stars: ✭ 545 (+1846.43%)
Mutual labels:  spinner
Sticky Parallax Header
A simple React Native library, enabling to create a fully custom header for your iOS and Android apps.
Stars: ✭ 792 (+2728.57%)
Mutual labels:  header
Rnparallax
A react native scroll view component with Parallax header :p
Stars: ✭ 474 (+1592.86%)
Mutual labels:  header
Respin
React SVG loading spinner based on jxnblk.com/loading
Stars: ✭ 21 (-25%)
Mutual labels:  spinner
React Circle
Renders a svg circle + progress, it just works 💘
Stars: ✭ 925 (+3203.57%)
Mutual labels:  spinner
Spinkit Objc
UIKit port of SpinKit
Stars: ✭ 743 (+2553.57%)
Mutual labels:  spinner
Pullrefreshlayout
下拉刷新,上拉加载,真实的回弹(overscroll)效果(媲美qq),且大小只有37KB(是其他主流刷新库或回弹库的1/2,1/3,甚至是1/4),同时,自定义header和footer,可以实现任何你想的到的功能(例如:自动触发加载更多、二级刷新等)
Stars: ✭ 639 (+2182.14%)
Mutual labels:  header
Smartrefreshlayout
🔥下拉刷新、上拉加载、二级刷新、淘宝二楼、RefreshLayout、OverScroll,Android智能下拉刷新框架,支持越界回弹、越界拖动,具有极强的扩展性,集成了几十种炫酷的Header和 Footer。
Stars: ✭ 23,185 (+82703.57%)
Mutual labels:  header
Re Spinner
A spinner that supports item click events
Stars: ✭ 19 (-32.14%)
Mutual labels:  spinner
Contourview
🦄 利用本库绘制出贝塞尔曲线魔炫背景。Customize view:Draw the magic dazzle background with Bézier.
Stars: ✭ 542 (+1835.71%)
Mutual labels:  header
Textinputview
Permanent hint for EditText
Stars: ✭ 26 (-7.14%)
Mutual labels:  hint
Powerspinner
🌀 A lightweight dropdown popup spinner with a fully customizable arrow and animations.
Stars: ✭ 493 (+1660.71%)
Mutual labels:  spinner
Android Advancedrecyclerview
RecyclerView extension library which provides advanced features. (ex. Google's Inbox app like swiping, Play Music app like drag and drop sorting)
Stars: ✭ 5,172 (+18371.43%)
Mutual labels:  header
Vue Loading Overlay
Vue.js component for full screen loading indicator 🌀
Stars: ✭ 784 (+2700%)
Mutual labels:  spinner
Aframe Preloader Component
A preloading bar that automatically displays while scene assets load.
Stars: ✭ 27 (-3.57%)
Mutual labels:  spinner
Angular Loading Feedback
Angular directive to indicate loads in app
Stars: ✭ 8 (-71.43%)
Mutual labels:  spinner

HintSpinner

License API jitPack Android Arsenal

Spinner widget with Hint/Header label.

Installation

Step 1: Add it in your root build.gradle at the end of repositories

    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }

Step 2: Add the dependency

    dependencies {
        ...
        implementation 'com.github.jaiselrahman:HintSpinner:1.0.0'
    }

Usage

In xml layout,

    <com.jaiselrahman.hintspinner.HintSpinner
            android:id="@+id/hint_spinner"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

In Java,

    HintSpinner hintSpinner = findViewById(R.id.hint_spinner);
    hintSpinner.setAdapter(new HintSpinnerAdapter<String>(this, strings, "Your Hint"));

If you are using custom objects then your can override getLabelFor(T t) to get label.

    hintSpinner.setAdapter(new HintSpinnerAdapter<Person>(this, persons, "Select a person") {
        @Override
        public String getLabelFor(Person person) {
            return person.getName();
        }
    });

You can also change the hint dynamically.

    hintSpinnerAdapter.setHint("Your Hint");
    hintSpinnerAdapter.notifyDataSetChanged();

License

Copyright 2018, JaiselRahman

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].