All Projects → mcxtzhang → Zlayoutmanager

mcxtzhang / Zlayoutmanager

Some custom LayoutManager .Such as SwipeCard、FLowLayout。一些自定义的LayoutManager,仿探探、人人影视 炫动滑动 卡片层叠 和流式布局等。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Zlayoutmanager

Spotify-Cards-API
🚀 Unofficial Spotify PromoCards API
Stars: ✭ 13 (-99.46%)
Mutual labels:  cards, card
TimelineCards
Presenting timelines as cards, single or bundled in scrollable feed!
Stars: ✭ 423 (-82.4%)
Mutual labels:  cards, card
Uicard
Generic UI for card games like Hearthstone, Magic Arena and Slay the Spire...
Stars: ✭ 142 (-94.09%)
Mutual labels:  card, cards
Vue Content Loading
Vue component to easily build (or use presets) SVG loading cards Facebook like.
Stars: ✭ 729 (-69.68%)
Mutual labels:  card, cards
Stacklayoutmanager
customized layoutmanager,let item pile up like stackview/类似最美有物卡片堆叠效果
Stars: ✭ 343 (-85.73%)
Mutual labels:  layoutmanager, card
Readme Template
📜 Modelos readme para qualquer pessoa copiar e usar em seu GitHub.
Stars: ✭ 287 (-88.06%)
Mutual labels:  card, cards
dotacard
You are at FODA artwork repository. Play now for free
Stars: ✭ 22 (-99.08%)
Mutual labels:  cards, card
Flutter Infinitecards
An infinite card switching UI for Flutter, support custom animation 自定义实现神奇动效的卡片切换视图
Stars: ✭ 333 (-86.15%)
Mutual labels:  card, cards
Timelinecards
Presenting timelines as cards, single or bundled in scrollable feed!
Stars: ✭ 415 (-82.74%)
Mutual labels:  card, cards
Foda
You are at FODA source code. Play now for free
Stars: ✭ 92 (-96.17%)
Mutual labels:  card, cards
Lovelace Xiaomi Vacuum Card
Simple card for various robot vacuums in Home Assistant's Lovelace UI
Stars: ✭ 137 (-94.3%)
Mutual labels:  card
Vue Info Card
Simple and beautiful card component with an elegant spark line, for VueJS.
Stars: ✭ 159 (-93.39%)
Mutual labels:  card
Vlayout
Project vlayout is a powerfull LayoutManager extension for RecyclerView, it provides a group of layouts for RecyclerView. Make it able to handle a complicate situation when grid, list and other layouts in the same recyclerview.
Stars: ✭ 10,818 (+350%)
Mutual labels:  layoutmanager
React Ui Cards
Ready to use card components for React
Stars: ✭ 162 (-93.26%)
Mutual labels:  card
Cardstackview
📱Tinder like swipeable card view for Android
Stars: ✭ 1,850 (-23.04%)
Mutual labels:  layoutmanager
React Native Card Flip
Card flip animation for React Native
Stars: ✭ 183 (-92.39%)
Mutual labels:  cards
Swipeablecards
Stars: ✭ 136 (-94.34%)
Mutual labels:  cards
Android Infinitecards
An infinite card switching UI for Android, support custom animation 自定义实现神奇动效的卡片切换视图
Stars: ✭ 1,692 (-29.62%)
Mutual labels:  card
Cardparts
A reactive, card-based UI framework built on UIKit for iOS developers.
Stars: ✭ 2,374 (-1.25%)
Mutual labels:  cards
Androidpilelayout
An abnormal horizontal ListView-like pile layout with stretch and contraction effects.
Stars: ✭ 2,104 (-12.48%)
Mutual labels:  card

LayoutManagerDemo

利用自定义LayoutManager 的一些实战实例。

相关博文:

流式布局

仿探探、人人影视 卡片层叠 炫动滑动布局

想经济上支持我 or 想通过视频看我是怎么实现的:

http://edu.csdn.net/course/detail/3956

If you like, point a star .Thank you very much!

喜欢随手点个star 多谢

在哪里找到我:

我的github:

https://github.com/mcxtzhang

我的CSDN博客:

http://blog.csdn.net/zxt0601

我的稀土掘金:

http://gold.xitu.io/user/56de210b816dfa0052e66495

我的简书:

http://www.jianshu.com/users/8e91ff99b072/timeline


效果一览:

仿探探、人人影视 卡片层叠 炫动滑动布局

探探皇帝翻牌子即视感

探探皇帝翻牌子即视感

人人美剧订阅界面

人人美剧订阅界面

可配置参数(同时显示6页):

人人美剧订阅界面

流式布局

这里写图片描述

艾玛,换成妹子图后貌似好看了许多,我都不认识它了,好吧,项目里它一般长下面这样:

这里写图片描述

往常这种效果,我们一般使用自定义ViewGroup实现,我以前也写了一个。自定义VG实现流式布局

使用:

Step 1. 在项目根build.gradle文件中增加JitPack仓库依赖。

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

Step 2. Add the dependency

    dependencies {
	        compile 'com.github.mcxtzhang:ZLayoutManager:V1.1.0'
	}

Step 3. 仿探探、人人影视 卡片层叠 炫动滑动布局:

以后老板让你做这种效果,你只需要:

	mRv.setLayoutManager(new OverLayCardLayoutManager());
        CardConfig.initConfig(this);
        ItemTouchHelper.Callback callback = new RenRenCallback(mRv, mAdapter, mDatas);
        ItemTouchHelper itemTouchHelper = new ItemTouchHelper(callback);
        itemTouchHelper.attachToRecyclerView(mRv);

如果需要定制特殊的参数,例如显示6层:

		 CardConfig.MAX_SHOW_COUNT = 6;

设置仿探探竖直上下滑动,不删除Item。

水平方向判断误差阈值x:

        final TanTanCallback callback = new TanTanCallback(mRv, mAdapter, mDatas);
        callback.setHorizontalDeviation(x);

流式布局:

        mRv.setLayoutManager(new FlowLayoutManager());

刚建了个QQ搞基交流群: 557266366 里面现在没有人。 嗯,就这样吧。

使用的Adapter:

https://github.com/mcxtzhang/all-base-adapter

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