All Projects → zjw-swun → RecyclerViewCardGallery

zjw-swun / RecyclerViewCardGallery

Licence: other
RecyclerView实现循环banner,替代ViewPager方案。能够快速滑动并最终定位到居中位置(相比于原库支持了循环滑动)

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to RecyclerViewCardGallery

Banner
Android Viewpager rotation control, application guide page controls, support vertical, horizontal cycle scrolling, extended from view support animation, indicator extension and so on;Android viewpager轮播图控件、app引导页控件,支持垂直、水平循环滚动,扩展自viewpager 支持动画,指示器扩展等。
Stars: ✭ 96 (-84.26%)
Mutual labels:  gallery, banner
Cardslideview
一行代码实现ViewPager卡片效果,比ViewPager2更强大,底层同样是RecyclerView
Stars: ✭ 301 (-50.66%)
Mutual labels:  gallery, banner
xGallerify
A lightweight, responsive, smart gallery based on jQuery
Stars: ✭ 52 (-91.48%)
Mutual labels:  gallery
HeartBeatView
Simple custom view of a beating heart using scaling animation.
Stars: ✭ 44 (-92.79%)
Mutual labels:  custom-view
simplebanner
(最简单的广告轮播)the most simple banner
Stars: ✭ 18 (-97.05%)
Mutual labels:  banner
react-native-image-page
react-native image-carousel with zoom-pan gestures and full-screen support, work on both iOS and Android
Stars: ✭ 19 (-96.89%)
Mutual labels:  gallery
EasyMoney-Widgets
The widgets (EditText and TextView) for support of money requirements like currency, number formatting, comma formatting etc.
Stars: ✭ 91 (-85.08%)
Mutual labels:  custom-view
node-banner
Easily integrate ASCII flavored banners to your CLI tool
Stars: ✭ 18 (-97.05%)
Mutual labels:  banner
hentai-downloader
ExHentai exhentai.org, e-hentai.org images gallery download to folder.
Stars: ✭ 37 (-93.93%)
Mutual labels:  gallery
files photospheres
Nextcloud app for viewing Google PhotoSphere 360° images (panorama-images)
Stars: ✭ 20 (-96.72%)
Mutual labels:  gallery
ProPicker
ProPicker is a file picker (image, video, file) library for Android. It helps you to pick any file and return the result in a convenient way
Stars: ✭ 25 (-95.9%)
Mutual labels:  gallery
TakePhoto
🔥Kongzue的APP拍照&相册选择工具
Stars: ✭ 41 (-93.28%)
Mutual labels:  gallery
clearable-edittext
Simple custom view for clearable EditText.
Stars: ✭ 58 (-90.49%)
Mutual labels:  custom-view
pigallery
PiGallery: AI-powered Self-hosted Secure Multi-user Image Gallery and Detailed Image analysis using Machine Learning, EXIF Parsing and Geo Tagging
Stars: ✭ 35 (-94.26%)
Mutual labels:  gallery
RxLoading
RxJava library for showing a loading (i.e. progress bar) state while waiting for async data with minimal effort and advanced options.
Stars: ✭ 49 (-91.97%)
Mutual labels:  custom-view
gallery-server
Beautiful and powerful yet simple local image viewer on your PC or mobile.
Stars: ✭ 16 (-97.38%)
Mutual labels:  gallery
double-avatar-view
Instagram-like double avatar view with cropping
Stars: ✭ 31 (-94.92%)
Mutual labels:  custom-view
BeautifulMakie
https://lazarusa.github.io/BeautifulMakie/
Stars: ✭ 281 (-53.93%)
Mutual labels:  gallery
vue-tinybox
🌌 A slick, yet tiny lightbox gallery for Vue.js
Stars: ✭ 93 (-84.75%)
Mutual labels:  gallery
mCustomView
总结了博主这么多年所写的自定义view,以及自定义view的教程
Stars: ✭ 17 (-97.21%)
Mutual labels:  custom-view

RecyclerViewCardGallery

声明:代码fork自 https://github.com/huazhiyuan2008/RecyclerViewCardGallery/ 感谢原作者

RecyclerView实现循环banner,替代ViewPager方案。能够快速滑动并最终定位到居中位置(相比于原库支持了循环滑动)

RecyclerViewCardGallery.gif

录制效果有点渣,见谅~ 可下载apk自己玩

Usage

调用new PageScaleHelper().attachToRecyclerView(mRecyclerView);扩展RecyclerView

final LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false);
        mRecyclerView.setLayoutManager(linearLayoutManager);
        mRecyclerView.setAdapter(new CardAdapter(mList));
        // mRecyclerView绑定scale效果
        mBannerScaleHelper = new BannerScaleHelper();
        mBannerScaleHelper.setFirstItemPos(1000);
        mBannerScaleHelper.attachToRecyclerView(mRecyclerView);

在adapter相应的位置调用

mBannerAdapterHelper.onCreateViewHolder(parent, itemView);
mBannerAdapterHelper.onBindViewHolder(holder.itemView, position, getItemCount());

Apk download

app_debug.apk

GPU Render测试图

RecyclerViewCardGallery.gif

关于我

简书地址

License

Copyright 2016 zjw-swun

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