Shuffle with Android-centric packages (#65)

This change introduces new, Android centric packages including

 * rx.android.content for android.content related classes
 * rx.android.view for android.view related classes
 * rx.android.widget for android.widget related classes
 * rx.android.util for package agnostic classes

Then it moves existing classes based on their Android counterparts.

Although one of the goal is to reduce the number of publics,
this change still does nothing but class move. More changes will follow.
Split AndroidObservable to ContentObservable and ViewObservable (#65)

This allows some contnet-related internal classes package local.
Split part of ViewObservable to WidgetObservable. (#65)

Some ViewObservable methods are for android.widget.* classes.
This change moves  these to newly introduced WidgetObservable.
This turns some internal classes from public to package-local.
Move Assertions from util to internal.
Merge pull request #66 from omo/reorg

Android-centric package reorganization (#65)
Fix observeOn() invocation order.

It should be called before lift() so that the operator can observe it on the main thread.
This change also adds some test for other bindXx() variants to get better coverage.
Refactoring OperatorViewDetachedFromWindowFirst

1. Renaming to OnSubscribeViewDetachedFromWindowFirst.java
2. Adding tests to assert the desired behaviour
3. Refactoring to avoid the "instantiate and forget" approach
within OnSubscribe.call(..)

Signed-off-by: David Marques <dpsmarques@gmail.com>
Making OnSubscribeViewDetachedFromWindowFirst.java package protected

Moving OnSubscribeViewDetachedFromWindowFirstTest.java to the right
package so the test can access the target class.

Signed-off-by: David Marques <dpsmarques@gmail.com>
Making style fixes and removing usage of junit.* classes.

Signed-off-by: David Marques <dpsmarques@gmail.com>
Rename OnSubscribe subclasses to OnSubscribeXx

This aligns RxJava convention.
Merge pull request #67 from omo/observeon-first

Fix observeOn() invocation order.
Merge pull request #77 from omo/onsubscribe

Rename OnSubscribe subclasses to OnSubscribeXx
Implementing an OnSubscribe that emits a Cursor as it moves to next.

This commit removes CursorIterableAdapter.java and implements the
Cursor navigation and safe closing in one place.

The option to use doOnTerminate(..) will not work as well to close
the Cursor since downstream operators while emiting errors would
not pass through the operator closing the Cursor.

Signed-off-by: David Marques <dpsmarques@gmail.com>
Merge pull request #76 from dpsm/feature/cursor

Adding support to create self closing Observables from Cursors
Merge pull request #70 from dpsm/0.x

Refactoring OperatorViewDetachedFromWindowFirst
Merge remote-tracking branch 'upstream/0.x' into 0.x
re-organizing sample packages for new examples in the future
Updating the list activity to act as a menu for the samples
Adding click listener to navigate to other samples
Creating sample for observing changes on a TextView