Android Open Source - RoboBinding-album-sample Home Activity

From Project

Back to project page RoboBinding-album-sample.


The source code is released under:

Apache License

If you think the Android project RoboBinding-album-sample listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.robobinding.albumsample.activity;
/*from   ww w .j  av  a  2s  .  co m*/
import org.robobinding.albumsample.R;
import org.robobinding.albumsample.presentationmodel.HomePresentationModel;
import org.robobinding.albumsample.presentationmodel.HomeView;

import android.content.Intent;
import android.os.Bundle;

 * @author Cheng Wei
 * @author Robert Taylor
 * @since 1.0
public class HomeActivity extends AbstractActivity implements HomeView {
    protected void onCreate(Bundle savedInstanceState) {

        HomePresentationModel presentationModel = new HomePresentationModel(this);
        initializeContentView(R.layout.activity_home, presentationModel);

    public void showAlbums() {
        startActivity(new Intent(this, ViewAlbumsActivity.class));

Java Source Code List