RxPalette

RxJava binding APIs for Palette.

Лицензия

Лицензия

Группа

Группа

io.sweers.rxpalette
Идентификатор

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

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

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

0.3.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

RxPalette
RxJava binding APIs for Palette.
Ссылка на сайт

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

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

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

https://github.com/hzsweers/RxPalette/

Скачать rxpalette

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

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
io.reactivex : rxjava jar 1.1.0
com.android.support » support-annotations jar 23.1.1
com.android.support » palette-v7 jar 23.1.1

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

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

RxPalette

RxJava binding APIs for the Palette Android library.

Usage

Java:

RxPalette.generate(bitmap)
        .subscribe({ palette ->
            // Do stuff
        });
        
RxPalette.generate(new Palette.Builder(bitmap).maximumColorCount(10))
        .subscribe({ palette ->
            // Do stuff
        });

Kotlin:

// Extensions directly applied Palette.Builder
Palette.Builder(bitmap)
        .maximumColorCount(10)
        .asObservable()
        .subscribe({ palette ->
            // Do stuff
        });

Download

Java bindings:

compile 'io.sweers.rxpalette:rxpalette:0.3.0'

Kotlin bindings:

compile 'io.sweers.rxpalette:rxpalette-kotlin:0.3.0'

Snapshots of the development version are available in Sonatype's snapshots repository.

License

Copyright (C) 2015 Zac Sweers

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.

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

Версия
0.3.0
0.2.0
0.1.0