package de.metalmatze.krautreporter.activities;

import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;

import de.metalmatze.krautreporter.R;

public class ArticleActivity extends ActionBarActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.setContentView(R.layout.activity_article);

        this.getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    }

}

@@ -121,45 +121,267 @@
 ty;%0A
-%0Aimport de.metalmatze.krautreporter.R
+import android.util.Log;%0Aimport android.widget.ImageView;%0Aimport android.widget.TextView;%0A%0Aimport com.activeandroid.query.Select;%0A%0Aimport java.text.SimpleDateFormat;%0A%0Aimport de.metalmatze.krautreporter.R;%0Aimport de.metalmatze.krautreporter.models.ArticleModel
 ;%0A%0Ap
@@ -608,17 +608,16 @@
 ticle);%0A
-%0A
         
@@ -675,16 +675,808 @@
 d(true);
+%0A%0A        String uuid = this.getIntent().getStringExtra(%22uuid%22);%0A        Log.d(%22uuid in article activity%22, uuid);%0A        ArticleModel model = new Select().from(ArticleModel.class).where(%22uuid = ?%22, uuid).executeSingle();%0A%0A        TextView articleTitle = (TextView) findViewById(R.id.article_title);%0A        TextView articleDate = (TextView) findViewById(R.id.article_date);%0A        ImageView articleImage = (ImageView) findViewById(R.id.image);%0A        TextView articleExcerpt = (TextView) findViewById(R.id.article_excerpt);%0A        TextView articleContent = (TextView) findViewById(R.id.article_content);%0A%0A        articleTitle.setText(model.title);%0A        articleDate.setText(new SimpleDateFormat(%22dd.MM.yyyy%22).format(model.date.getTime()));%0A        articleContent.setText(model.content);
 %0A    %7D%0A%0A

Set contents in ArticleActivity