velcro-betterviewanimator

A set of useful Android parts.

License

License

GroupId

GroupId

com.andrewreitz.velcro
ArtifactId

ArtifactId

velcro-betterviewanimator
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

aar
Description

Description

velcro-betterviewanimator
A set of useful Android parts.
Project URL

Project URL

http://github.com/pieces029/velcro-parts
Source Code Management

Source Code Management

http://github.com/pieces029/velcro-parts

Download velcro-betterviewanimator

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

velcro-parts

A bunch of little android libraries for throwing in your application to avoid having to lookup, copy and pasting from one application to another.

The Parts

velcro-betterviewanimator

Adapted from Jake Wharton’s U2020 application, BetterViewanimator is a view animator with an added methods setDisplayedChildId and getDisplayedChildId allowing you to do animations using resource ids.

Usage

Add

compile 'com.andrewreitz.velcro:velcro-betterviewanimator:1.0.1'

to your build.gradle and extend BetterviewAnimator.

velcro-bindableadapter

Adapted from Jake Wharton’s U2020 application, BindableAdapter is an adapter that makes it easier inflate and get view reusage from Adapters for Lists.

Usage

Add

compile 'com.andrewreitz.velcro:velcro-bindableadapter:1.0.1'

to your build.gradle and extend BindableAdapter.

velcro-infinitescroll

Adapted from Panayiotis Papageorgiou’s infinite scrolling post, infintescroll contains the class InfiniteScrollListener for extension and handing off to ListViews for easy infinte scrolling.

Usage

Add

compile 'com.andrewreitz.velcro:velcro-infinitescroll:1.0.1'

to your build.gradle and extend InfiniteScrollListener. Then attach it to the ListView you want infinite scrolling on.

velcro-rx

A bunch of useful RxJava classes.

  • EndlessObserver from Jake Wharton’s U2020 app, is an observer that only requires you to implement onNext, and thus "never ends"

  • EndObserver from Jake Wharton’s U2020 app, that introduces a new method on the Observer onEnd. This method is called when onComplete or onEnd is called, always notify you that the Observer has ended receiving events.

  • RetrofitObserver is an Observer to use with Retrofit. It will automatically give you an error as a RetrofitError. If there is an error other than retrofit you can handle this by overriding nonRetrofitError. This class also has the same qualities as EndObserver.

Usage

Add

compile 'com.andrewreitz.velcro:velcro-rx:1.0.1'

to your build.gradle and extends the classes as you need.

License

Copyright 2014 Andrew Reitz
Copyright 2014 Jake Wharton
Copyright 2014 Panayiotis Papageorgiou

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.

Versions

Version
1.0.1
1.0.0