<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Good news everyone, I've pushed my branch into the main repository
and am welcoming comments.<br>
<br>
The biggest change in this branch is fixing Pipes and Authentication
to work correctly inside of the Android lifecycle. Specifically, I
added a bunch of utility classes to use Loaders to manage the state
of Pipes and protect data and operations through Activities'
lifecycles.<br>
<br>
I made a gist to demo changes in usage here:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://gist.github.com/secondsun/1b8f9f480d6f9f4453f6">https://gist.github.com/secondsun/1b8f9f480d6f9f4453f6</a><br>
<br>
In addition to this, I added several utility classes for callbacks.
In Java having Callbacks be anonymous inner classes is usually fine,
but in Android in Activities and Fragments this is a recipe for pain
and suffering (and memory leaks). So now it is strongly encouraged
for developers to extend the abstract helper classes and make them
static classes. The javadoc should reflect this, but I can make it
clearer if you guys think it is necessary.<br>
<br>
One big omission is testing. Part of the problem is that
Robolectric doesn't support Loaders (yet). So our only option is to
make a Android test project and run the tests on the emulator. This
isn't hard, just work.<br>
<br>
For FINAL, I hope to have the test project (and possibly a support
project) as well as lots more documentation for how to use
AG-Android correctly.<br>
<br>
So let's discuss on the PR:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://github.com/aerogear/aerogear-android/pull/57">https://github.com/aerogear/aerogear-android/pull/57</a><br>
<br>
Happy weekend guys.<br>
<br>
Summers<br>
</body>
</html>