GithubHelp home page GithubHelp logo

android-quicksidebar's Introduction

Android-QuickSideBar

帮助快速查阅对应分组的侧边栏,可以配合任意列表,demo中给出配合RecyclerView(浮动分组使用stickyheadersrecyclerview)。

####使用gradle 依赖:

   compile 'com.bigkoo:quicksidebar:1.0.1'

Demo 图片

Config in xml
<!-- 这个是浮动的提示 ,配合字母栏实现放大浮动提示滑动到哪个字母-->
   <com.bigkoo.quicksidebar.QuickSideBarTipsView
        android:id="@+id/quickSideBarTipsView"
        app:sidebarTextColor="@android:color/white"
        app:sidebarBackgroundColor="@color/colorPrimary"
        android:layout_toLeftOf="@+id/quickSideBarView"
        android:layout_width="@dimen/height_quicksidebartips"
        android:layout_height="match_parent"/>
<!-- 这个是字母栏的提示 -->
    <com.bigkoo.quicksidebar.QuickSideBarView
        android:id="@id/quickSideBarView"
        app:sidebarTextColorChoose="@color/colorPrimary"
        app:sidebarTextColor="@android:color/black"
        android:layout_alignParentRight="true"
        android:layout_width="20dp"
        android:layout_height="match_parent"/>
config in java code
//联动请看
OnQuickSideBarTouchListener

更新说明

v1.0.1 解决属性和其他开源库冲突问题

android-quicksidebar's People

Contributors

saiwu-bigkoo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.