Anidero

An Android Library that renders After Effects animations in JSON format

Лицензия

Лицензия

Категории

Категории

IDE Инструменты разработки
Группа

Группа

com.zeoflow
Идентификатор

Идентификатор

anidero
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

aar
Описание

Описание

Anidero
An Android Library that renders After Effects animations in JSON format
Ссылка на сайт

Ссылка на сайт

https://github.com/zeoflow/anidero
Система контроля версий

Система контроля версий

https://github.com/zeoflow/anidero

Скачать anidero

Имя Файла Размер
anidero-1.0.2.pom
anidero-1.0.2.aar 370 KB
anidero-1.0.2-sources.jar 202 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.zeoflow/anidero/ -->
<dependency>
    <groupId>com.zeoflow</groupId>
    <artifactId>anidero</artifactId>
    <version>1.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.zeoflow/anidero/
implementation 'com.zeoflow:anidero:1.0.2'
// https://jarcasting.com/artifacts/com.zeoflow/anidero/
implementation ("com.zeoflow:anidero:1.0.2")
'com.zeoflow:anidero:aar:1.0.2'
<dependency org="com.zeoflow" name="anidero" rev="1.0.2">
  <artifact name="anidero" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.zeoflow', module='anidero', version='1.0.2')
)
libraryDependencies += "com.zeoflow" % "anidero" % "1.0.2"
[com.zeoflow/anidero "1.0.2"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
com.zeoflow : material-elements jar 2.4.3
androidx.annotation » annotation jar 1.2.0
androidx.core » core jar 1.3.2
com.squareup.okio : okio jar 3.0.0-alpha.1

Модули Проекта

Данный проект не имеет модулей.

Anidero for Android

Intro

An Android Library that renders After Effects animations in JSON format

Getting Started

For information on how to get started with Anidero, take a look at our Getting Started guide.

Submitting Bugs or Feature Requests

Bugs or feature requests should be submitted at our GitHub Issues section.

How does it work?

1. Depend on our library

Anidero for Android is available through Google's Maven Repository. To use it:

  1. Open the build.gradle file for your application.

  2. Make sure that the repositories section includes Google's Maven Repository google(). For example:

      allprojects {
        repositories {
          google()
          jcenter()
        }
      }
  3. Add the library to the dependencies section:

      dependencies {
        // ...
        implementation 'com.zeoflow:anidero:<version>'
        // ...
      }

2. Add a Anidero component to your app

activity_main.xml

    <!--
        ...
    -->
    <com.zeoflow.anidero.AnideroView
        android:id="@+id/zAnideroView"
        android:layout_width="match_parent"
        android:layout_height="200dp"
        android:layout_centerInParent="true"
        app:anidero_loop="true" />
    <!--
        ...
    -->

3. Activity/Fragment Class

MainActivity.java

public class MainActivity extends BindAppActivity<ActivityMainBinding, MainViewBinding>
{
    //..
    private AnideroView zAnideroView;
    //..
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState)
    {
        //..
        zAnideroView = findViewById(R.id.zAnideroView);
        //..
        zAnideroView.setAnimation("animation.json");
        zAnideroView.playAnimation();
        zAnideroView.setSpeed(1f);
        //..
    }
    //..
}
animation.json is read from the \assets folder

License

Copyright 2020 ZeoFlow

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.

🏆 Contributors 🏆

com.zeoflow

ZeoFlow

From ZeoFlow with ❤️ to Developers

Версии библиотеки

Версия
1.0.2
1.0.1
1.0.0