All Projects → blipinsk → Staggeredanimationgroup

blipinsk / Staggeredanimationgroup

Licence: apache-2.0
A ConstraintLayout group that allows for simple staggered animations.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Staggeredanimationgroup

SophiaBot
Hi There ✋ I'M Sophia 3.0 ❤️ NEW VERSION OF SOPHIA.. Source Code of @SophiaSLBot.
Stars: ✭ 44 (-49.43%)
Mutual labels:  group
libnss-aad
A glibc NSS plugin that implements an Azure Active Directory service
Stars: ✭ 17 (-80.46%)
Mutual labels:  group
Briefing
Secure direct video group chat
Stars: ✭ 710 (+716.09%)
Mutual labels:  group
zusam
Private groups to share messages, photos, videos, links with friends and family.
Stars: ✭ 79 (-9.2%)
Mutual labels:  group
brackets-viewer.js
A simple library to display tournament brackets (round-robin, single elimination, double elimination).
Stars: ✭ 52 (-40.23%)
Mutual labels:  group
terraform-aws-organization-access-group
Terraform module to create an IAM Group and Policy to grant permissions to delegated IAM users in the Organization's master account to access a member account
Stars: ✭ 16 (-81.61%)
Mutual labels:  group
flutter sticky and expandable list
粘性头部与分组列表Sliver实现 Build a grouped list, which support expand/collapse section and sticky headers, support use it with sliver widget.
Stars: ✭ 116 (+33.33%)
Mutual labels:  group
Grouprecyclerviewadapter
可增删改查、可动画展开收起、可吸附悬浮动态可配置的分组列表
Stars: ✭ 41 (-52.87%)
Mutual labels:  group
PyroGramBot
pluggable Telegram Bot based on Pyrogram
Stars: ✭ 168 (+93.1%)
Mutual labels:  group
Core Nestjs
A simple application demonstrating the basic usage of permissions with NestJS (JWT, Passport, Facebook, Google+, User, Group, Permission)
Stars: ✭ 347 (+298.85%)
Mutual labels:  group
WarezBot
Public Version of Discord bot for scene release
Stars: ✭ 30 (-65.52%)
Mutual labels:  group
img-master
An image batch processing tool with multifunctional and unlimited
Stars: ✭ 63 (-27.59%)
Mutual labels:  group
Jschema
A simple, easy to use data modeling framework for JavaScript
Stars: ✭ 261 (+200%)
Mutual labels:  group
EnterpriseALRobot
An anime themed telegram group management bot
Stars: ✭ 134 (+54.02%)
Mutual labels:  group
List All Programming Telegram Group
List of All Programming Telegram Group
Stars: ✭ 724 (+732.18%)
Mutual labels:  group
discord-group-spammer
You need to run all_together.py and follow the instructions on the readme below. This Tool allows you to use various discord exploits for educational use.
Stars: ✭ 45 (-48.28%)
Mutual labels:  group
json-groupby
Group json data based on properties of json
Stars: ✭ 17 (-80.46%)
Mutual labels:  group
Enterprisealrobot
An anime themed telegram group management bot
Stars: ✭ 49 (-43.68%)
Mutual labels:  group
Llmlistview
super list view for uwp
Stars: ✭ 27 (-68.97%)
Mutual labels:  group
Kminion
KMinion is a feature-rich Prometheus exporter for Apache Kafka written in Go. It is lightweight and highly configurable so that it will meet your requirements.
Stars: ✭ 274 (+214.94%)
Mutual labels:  group

StaggeredAnimationGroup

License

A ConstraintLayout group that allows for simple staggered animations.

Usage

For a working implementation of this library see the sample/ folder.

  1. Add StaggeredAnimationGroup to your ConstraintLayout:
<android.support.constraint.ConstraintLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <View
        android:id="@+id/firstView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"> 
    
    <View
        android:id="@+id/secondView"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        
    <!-- here's the group -->
    <com.bartoszlipinski.constraint.StaggeredAnimationGroup
        android:id="@+id/group"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:constraint_referenced_ids="firstView, secondView"/>

</android.support.constraint.ConstraintLayout>
  1. Obtain StaggeredAnimationGroup instance from the layout:
StaggeredAnimationGroup group = findViewById(R.id.group);
  1. Use proper methods to show and hide Views in your group (with ids: firstView, secondView)
group.show();
// or
group.hide();

Including In Your Project

Add a proper dependency inside your build.gradle. Like this:

dependencies {
    implementation 'com.bartoszlipinski.constraint:staggeredanimationgroup:1.0.0'
    
    // obviously, you will also need those two:
    implementation 'com.android.support.constraint:constraint-layout:1.1.0-beta1'
    implementation 'com.android.support:transition:26.1.0'
}

Developed by

  • Bartosz Lipiński

License

Copyright 2017 Bartosz Lipiński

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