Twit 03 view pager and fragments

Creates a view pager and migrates all activities to fragments. Authentication Manager has been refactored into the authentication fragment, to prevent lots callbacks.

![authenticationmenu](https://cloud.githubusercontent.com/assets/3380092/3855378/e9be7c2a-1ee3-11e4-9897-3c9a07d58463.png)
![viewpager](https://cloud.githubusercontent.com/assets/3380092/3855384/f066ba2e-1ee3-11e4-8124-92af39a6d7b8.png)

:+1: there's an internal war about this :D


On 8 August 2014 13:19, Quentin DOMMERC <notifications@github.com> wrote:

> In
> android/src/main/java/com/github/mecharyry/auth/AuthenticationFragment.java:
>
> > +import com.github.mecharyry.R;
> > +import com.github.mecharyry.auth.oauth.AccessToken;
> > +import com.github.mecharyry.auth.oauth.OAuthAuthenticator;
> > +import com.github.mecharyry.auth.oauth.task.RequestAccessTokenTask;
> > +import com.github.mecharyry.auth.oauth.task.RequestTokenTask;
> > +
> > +public class AuthenticationFragment extends Fragment {
> > +
> > +    private OAuthAuthenticator oAuthAuthenticator;
> > +    private AccessTokenPreferences accessTokenPreferences;
> > +    private BroadcastReceiver receiver;
> > +    private Button authenticationButton;
> > +    private TextView textView;
> > +    private NotifyActivity notifyActivity;
> > +
> > +    public interface NotifyActivity {
>
> I would put the interface at the bottom
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/Mecharyry/Tweet-Manager/pull/11/files#r15989709>.
>