A bunch of little android libraries for throwing in your application to avoid having to lookup, copy and pasting from one application to another.
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.
Adapted from Panayiotis Papageorgiou’s infinite scrolling post, infintescroll contains the class
InfiniteScrollListener
for extension and handing off to ListViews for easy infinte scrolling.
A bunch of useful RxJava classes.
-
EndlessObserver
from Jake Wharton’s U2020 app, is an observer that only requires you to implementonNext
, and thus "never ends" -
EndObserver
from Jake Wharton’s U2020 app, that introduces a new method on the ObserveronEnd
. This method is called whenonComplete
oronEnd
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 aRetrofitError
. If there is an error other than retrofit you can handle this by overridingnonRetrofitError
. This class also has the same qualities asEndObserver
.
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.