package com.apps4glass.glass.euskalexample;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import com.apps4glass.glass.euskalexample.R;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }
}

@@ -160,207 +160,1279 @@
 ort 
-com.apps4glass.glass.euskalexample.R;%0A%0Apublic class MainActivity extends Activity %7B%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);
+android.view.View;%0Aimport android.view.ViewGroup;%0A%0Aimport com.apps4glass.glass.euskalexample.R;%0Aimport com.google.android.glass.app.Card;%0Aimport com.google.android.glass.widget.CardScrollAdapter;%0Aimport com.google.android.glass.widget.CardScrollView;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0A%0Apublic class MainActivity extends Activity %7B%0A%0A    private List%3CCard%3E cards;%0A    private CardScrollView cardScrollView;%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        cards = new ArrayList%3CCard%3E();%0A%0A        cards.add(new Card(this).setText(%22First card%22));%0A%0A        cardScrollView = new CardScrollView(this);%0A        cardScrollView.setAdapter(new SimpleCardScrollAdapter());%0A        cardScrollView.activate();%0A        setContentView(cardScrollView);%0A    %7D%0A%0A    private class SimpleCardScrollAdapter extends CardScrollAdapter %7B%0A%0A        @Override%0A        public int getCount() %7B return cards.size(); %7D%0A%0A        @Override%0A        public Object getItem(int i) %7B return cards.get(i); %7D%0A%0A        @Override%0A        public View getView(int i, View view, ViewGroup viewGroup) %7B return cards.get(i).getView(); %7D%0A%0A        @Override%0A        public int getPosition(Object o) %7B return cards.indexOf(o); %7D%0A
 %0A   

add basic scroll adapter