Search in sources :

Example 1 with GlassActionBarHelper

use of com.manuelpeinado.glassactionbar.GlassActionBarHelper in project GlassActionBar by ManuelPeinado.

the class ListViewActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    ListAdapter adapter = new ImagesAdapter(this);
    helper = new GlassActionBarHelper().contentLayout(R.layout.activity_listview, adapter);
    setContentView(helper.createView(this));
}
Also used : GlassActionBarHelper(com.manuelpeinado.glassactionbar.GlassActionBarHelper) ListAdapter(android.widget.ListAdapter)

Example 2 with GlassActionBarHelper

use of com.manuelpeinado.glassactionbar.GlassActionBarHelper in project GlassActionBar by ManuelPeinado.

the class ListViewActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    ListAdapter adapter = new ImagesAdapter(this);
    helper = new GlassActionBarHelper().contentLayout(R.layout.activity_listview, adapter);
    setContentView(helper.createView(this));
}
Also used : GlassActionBarHelper(com.manuelpeinado.glassactionbar.GlassActionBarHelper) ListAdapter(android.widget.ListAdapter)

Example 3 with GlassActionBarHelper

use of com.manuelpeinado.glassactionbar.GlassActionBarHelper in project GlassActionBar by ManuelPeinado.

the class ListViewActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    ListAdapter adapter = new ImagesAdapter(this);
    helper = new GlassActionBarHelper().contentLayout(R.layout.activity_listview, adapter);
    setContentView(helper.createView(this));
}
Also used : GlassActionBarHelper(com.manuelpeinado.glassactionbar.GlassActionBarHelper) ListAdapter(android.widget.ListAdapter)

Aggregations

ListAdapter (android.widget.ListAdapter)3 GlassActionBarHelper (com.manuelpeinado.glassactionbar.GlassActionBarHelper)3