myinnos / Alphabetindex Fast Scroll Recyclerview
Licence: apache-2.0
A Powerful AlphabetIndex FastScroller Library for Android's RecyclerView!
Stars: ✭ 444
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Alphabetindex Fast Scroll Recyclerview
Imageviewer
🔮图片浏览器,支持图片手势缩放、拖拽等操作,`自定义View`的模式显示,自定义图片加载方式,更加灵活,易于扩展,同时也适用于RecyclerView、ListView的横向和纵向列表模式,最低支持版本为Android 3.0及以上...
Stars: ✭ 363 (-18.24%)
Mutual labels: recyclerview
Adapter
A quick adapter library for RecyclerView, GridView, ListView, ViewPager, Spinner
Stars: ✭ 376 (-15.32%)
Mutual labels: recyclerview
Dragselectrecyclerview
TouchListener that can be attached to any RecyclerView and handles multi selection for you
Stars: ✭ 371 (-16.44%)
Mutual labels: recyclerview
Elasticsearch
The missing elasticsearch ORM for Laravel, Lumen and Native php applications
Stars: ✭ 375 (-15.54%)
Mutual labels: indexing
Corbind
Kotlin Coroutines binding APIs for Android UI widgets from the platform and support libraries
Stars: ✭ 357 (-19.59%)
Mutual labels: recyclerview
Scrollingpagerindicator
Pager indicator inspired by Instagram. Lightweight and easy to set up.
Stars: ✭ 419 (-5.63%)
Mutual labels: recyclerview
Mayan Edms
Repository mirror of GtLab: https://gitlab.com/mayan-edms/mayan-edms Please use the upstream repository for issues and pull requests.
Stars: ✭ 398 (-10.36%)
Mutual labels: indexing
Familiarrecyclerview
一个如你熟悉ListView、GridView一样熟悉的RecyclerView
Stars: ✭ 372 (-16.22%)
Mutual labels: recyclerview
Y divideritemdecoration
A common RecyclerView divider , supports the LinearLayoutManager and the GridLayoutManager.
Stars: ✭ 373 (-15.99%)
Mutual labels: recyclerview
Popupbubble
🅿️ Easily add and customise "New Post" popup button with the feeds (RecyclerView) of your app.
Stars: ✭ 385 (-13.29%)
Mutual labels: recyclerview
Android Extensions
An Android library with modules to quickly bootstrap an Android application.
Stars: ✭ 356 (-19.82%)
Mutual labels: recyclerview
Recyclerviewtemplate
One Template which solves all frequently used RecyclerViews Code Snippets
Stars: ✭ 404 (-9.01%)
Mutual labels: recyclerview
Multichoicerecyclerview
Multi choice selection applied on recycler view make life easier
Stars: ✭ 361 (-18.69%)
Mutual labels: recyclerview
Multiitem
一个优雅的实现多类型的RecyclerView类库 支持DataBinding Form表单录入 跨多个RecyclerView拖动
Stars: ✭ 381 (-14.19%)
Mutual labels: recyclerview
Recyclerview Gallery
Recyclerview-Gallery:This library shows you a gallery using RecyclerView.
Stars: ✭ 420 (-5.41%)
Mutual labels: recyclerview
Opensearchserver
Open-source Enterprise Grade Search Engine Software
Stars: ✭ 408 (-8.11%)
Mutual labels: indexing
AlphabetIndex Fast Scroll RecyclerView
A Powerful AlphabetIndex FastScroller for Android's RecyclerView!
Kindly use the following links to use this library:
In build.gradle (Project)
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
And then in the other gradle file(may be your app gradle or your own module library gradle, but never add in both of them to avoid conflict.)
dependencies {
// AppCompat version
implementation 'com.github.myinnos:AlphabetIndex-Fast-Scroll-RecyclerView:1.0.92'
or
// AndroidX version
implementation 'com.github.myinnos:AlphabetIndex-Fast-Scroll-RecyclerView:1.0.95'
}
How to use
Step 1: add this to your xml:
<in.myinnos.alphabetsindexfastscrollrecycler.IndexFastScrollRecyclerView
android:id="@+id/fast_scroller_recycler"
android:layout_width="match_parent"
android:layout_height="match_parent" />
Step 2: implement SectionIndexer to RecyclerViewAdapter.
public class RecyclerViewAdapter extends RecyclerView.Adapter<ViewHolder> implements SectionIndexer {
private List<String> mDataArray;
private ArrayList<Integer> mSectionPositions;
.....
@Override
public int getSectionForPosition(int position) {
return 0;
}
@Override
public Object[] getSections() {
List<String> sections = new ArrayList<>(26);
mSectionPositions = new ArrayList<>(26);
for (int i = 0, size = mDataArray.size(); i < size; i++) {
String section = String.valueOf(mDataArray.get(i).charAt(0)).toUpperCase();
if (!sections.contains(section)) {
sections.add(section);
mSectionPositions.add(i);
}
}
return sections.toArray(new String[0]);
}
@Override
public int getPositionForSection(int sectionIndex) {
return mSectionPositions.get(sectionIndex);
}
}
Note: mDataArray: this is your recycler data array model.
Features
- Change IndexTextSize:
mRecyclerView.setIndexTextSize(12);
- Change IndexBarTextColor:
mRecyclerView.setIndexBarTextColor("#FFFFFF");
mRecyclerView.setIndexBarTextColor(R.color.index_bar_text_color);
- Change IndexBarColor:
mRecyclerView.setIndexBarColor("#33334c");
mRecyclerView.setIndexBarColor(R.color.index_bar_color);
- Change IndexBarCornerRadius:
mRecyclerView.setIndexBarCornerRadius(3);
- Change IndexBarTransparentValue:
mRecyclerView.setIndexBarTransparentValue((float) 0.4);
- Change IndexbarMargin:
mRecyclerView.setIndexbarMargin(4);
- Change IndexbarWidth:
mRecyclerView.setIndexbarWidth(40);
- Change PreviewPadding:
mRecyclerView.setPreviewPadding(2);
- Change PreviewVisibility:
mRecyclerView.setPreviewVisibility(false);
- Change Typeface:
Typeface typeface = Typeface.createFromAsset(context.getAssets(), "Custom-Font.ttf");
mRecyclerView.setTypeface(typeface);
- To hide/show Fast Scroll IndexBar:
mRecyclerView.setIndexBarVisibility(true);
- Change IndexBarHighLateTextColor:
mRecyclerView.setIndexbarHighLightTextColor("#33334c);
mRecyclerView.setIndexbarHighLightTextColor(R.color.index_bar_highlight_text_color);
- To hide/show IndexBarHighLightText:
mRecyclerView.setIndexBarHighLightTextVisibility(true);
- To hide/show IndexBarStroke:
mRecyclerView.setIndexBarStrokeVisibility(true);
- Change IndexBarStrokeWidth:
mRecyclerView.setIndexBarStrokeWidth(1);
- Change IndexBarStrokeColor:
mRecyclerView.setIndexBarStrokeColor("#000000");
Compatibility
This library works with any layout manager but is optimized for the use with a LinearLayoutManager.
new issue!
Any Queries? or Feedback, please let me know by opening aContact
Prabhakar Thota
- 🌐 Website: myinnos.in
- ✉️ e-mail: [email protected]
- 🔎 LinkedIn: PrabhakarThota
- 👍 Twitter: @myinnos
- 📷 Instagram: @prabhakar_t_
If you appreciate my work, consider buying me a cup of ☕️ to keep me recharged 🤘 by PayPal
Special Contributors
@jonas-arkulpa
@MFlisar
@RaphaelMarion
@appspell
@Libernys
@IvanAbacumov
License
Copyright 2017 - 2019 MyInnos
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].