All Projects → javierpe → Android-FilterView

javierpe / Android-FilterView

Licence: Apache-2.0 license
Build a simple filter view with customizable controls.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android-FilterView

Ewma
Exponentially Weighted Moving Average Filter
Stars: ✭ 21 (+5%)
Mutual labels:  filter, filters
Gl React Instagramfilters
Instagram filters for gl-react and gl-react-native
Stars: ✭ 157 (+685%)
Mutual labels:  filter, filters
Pornlist
Ad-blocking porn websites filter list for Adblock Plus and uBlock Origin.
Stars: ✭ 21 (+5%)
Mutual labels:  filter, filters
Exopite-Multifilter-Multi-Sorter-WordPress-Plugin
Display and/or sort/filter any page or post types by multiple taxonomies or terms (like post by categories and/or tags) with AJAX. Exopite multifilter, multi-sortable, multi selectable, multi filterable sortable Wordpress Plugin.
Stars: ✭ 18 (-10%)
Mutual labels:  filter, filters
Windowshowdemo
Android 弹窗案例总结(仿淘宝弹窗 咸鱼菜单 筛选列表)
Stars: ✭ 95 (+375%)
Mutual labels:  view, filter
Hypermark
Markdown for Humans.
Stars: ✭ 266 (+1230%)
Mutual labels:  filter, filters
Obs Streamfx
StreamFX is a plugin for OBS Studio which adds many new effects, filters, sources, transitions and encoders - all for free! Be it 3D Transform, Blur, complex Masking, or even custom shaders, you'll find it all here.
Stars: ✭ 1,128 (+5540%)
Mutual labels:  filter, filters
express-mquery
Expose mongoose query API through HTTP request.
Stars: ✭ 37 (+85%)
Mutual labels:  filter, filters
Chips Input Layout
A customizable Android ViewGroup for displaying Chips (specified in the Material Design Guide).
Stars: ✭ 591 (+2855%)
Mutual labels:  view, filter
Iir1
IIR realtime filter library written in C++
Stars: ✭ 224 (+1020%)
Mutual labels:  filter, filters
BioBalanceDetector
Bio Balance Detector's products aim to show the weak electromagnetic fields around every living being (including plants, animals and humans) and display it in a heat-map like hyper-spectral image.
Stars: ✭ 18 (-10%)
Mutual labels:  filter, filters
django-admin-search
Modal filter for django admin
Stars: ✭ 60 (+200%)
Mutual labels:  filter, filters
iirj
An efficient IIR filter library written in JAVA
Stars: ✭ 95 (+375%)
Mutual labels:  filter, filters
Gaussianblur
An easy and fast library to apply gaussian blur filter on any images. 🎩
Stars: ✭ 473 (+2265%)
Mutual labels:  filter, filters
spark-ar-creators
List of 9500 (and counting) Spark AR Creators. Open an issue or contact me if you want to be added.❤️
Stars: ✭ 122 (+510%)
Mutual labels:  filter, filters
Pgo
Go library for PHP community with convenient functions
Stars: ✭ 51 (+155%)
Mutual labels:  filter, filters
Pixelsdk
The modern photo and video editor for your iPhone / iPad app. A fully customizable image & video editing iOS Swift framework.
Stars: ✭ 192 (+860%)
Mutual labels:  filter, filters
View Effects
Apply custom effects on view backgrounds
Stars: ✭ 176 (+780%)
Mutual labels:  view, filter
vesdk-android-demo
VideoEditor SDK: A fully customizable video editor for your app.
Stars: ✭ 90 (+350%)
Mutual labels:  filter, filters
DatatableJS
Jquery datatable with entity framework using MVC html helper
Stars: ✭ 25 (+25%)
Mutual labels:  filter

Android FilterView

Build a simple filter view with customizable controls.

Download from Gradle

  1. Add it in your root build.gradle at the end of repositories:
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
    }
} 
  1. Add the dependency
dependencies {
  compile 'com.github.FranciscoJavierPRamos:Android-FilterView:1.0.4'
}

Usage

  • Create a section
SingleSection singleSection = new SingleSection.Builder("Category", 1)
                .setSectionNameColor(R.color.colorAccent)
                .addOption(new SingleOption("CUSTOMER", R.color.colorAccent,
                        R.drawable.ic_account_black_24dp, R.color.colorBackground,
                        R.color.colorAccent, 2, R.color.colorAccent))
                .addOption(new SingleOption("ORGANIZATION", R.color.colorAccent,
                        R.drawable.ic_layers_black_24dp, R.color.colorBackground,
                        R.color.colorAccent, 2, R.color.colorAccent))
                .build().setOnSingleOptionListener(new OnSingleOptionListener() {
                    @Override
                    public void onClick(SingleOption option) {

                    }
                });
  • Create FilterView instance and add section
new FilterView.Builder(this)
                .withTitle("Aplicar")
                .setToolbarVisible(true)
                .withTitleColor(R.color.colorAccent)
                .withDivisorColor(R.color.colorAccent)
                .setCloseIconColor(R.color.colorAccent)
                .addSection(singleSection)
                .build()
                .setOnFilterViewResultListener(new OnFilterViewResultListener() {
                    @Override
                    public void onResult(JSONArray data) {
                        System.out.println(data.toString());
                    }
                }).show();

Call to show(); method to display FilterView and setOnFilterViewResultListener(...) to return JSONArray with data filtered.

Sections

  • SingleSection with SingleOption control.
  • SliderSection with SliderOption control.
  • TagSection with String tags.
  • ExtraSection with:
    • ExtraBoolean
    • ExtraCurrencyEditText
    • ExtraDate
    • ExtraHSM
    • ExtraList
    • ExtraEditText

License

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].