MorphView

A convenience library to handle reversible AnimatedVectorDrawables

Лицензия

Лицензия

Группа

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

MorphView
A convenience library to handle reversible AnimatedVectorDrawables
Ссылка на сайт

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

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

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

http://github.com/akaita/MorphView/tree/master

Скачать morphview

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

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

Зависимости

runtime (1)

Идентификатор библиотеки Тип Версия
com.android.support » appcompat-v7 jar 26.1.0

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

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

MorphView

A convenience library for reversible AnimatedVectorDrawables

Structure

  • example-kotlin and example-java are companions of the Android recipe: The easy path to animated icons bog post. They contain examples completely uncoupled from the MorphView library
  • example-library shows how to use the MorphView library.
  • library contains the MorphView library itself

Usage

implementation 'com.akaita.android:morphview:1.0.0' 
<com.akaita.android.morphview.MorphView
    android:id="@+id/morphView"
    android:layout_width="100dp"
    android:layout_height="100dp"
    app:avdFirst="@drawable/avd_favorite_to_send"
    app:avdSecond="@drawable/avd_send_to_favorite" />
override fun onResume() {
    favoriteButton.setOnClickListener { morphView.showAvdFirst() }
    toggleButton.setOnClickListener { morphView.morph() }
    sendButton.setOnClickListener { morphView.showAvdSecond() }
}

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

Версия
1.0.0