use of android.support.v7.widget.LinearLayoutManager in project cw-omnibus by commonsguy.
the class MainActivity method onCreate.
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setLayoutManager(new LinearLayoutManager(this));
RecyclerView.ItemDecoration decor = new HorizontalDividerItemDecoration.Builder(this).color(getResources().getColor(R.color.primary)).build();
getRecyclerView().addItemDecoration(decor);
setAdapter(new IconicAdapter());
}
use of android.support.v7.widget.LinearLayoutManager in project cw-omnibus by commonsguy.
the class MainActivity method onCreate.
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setLayoutManager(new LinearLayoutManager(this));
adapter = new IconicAdapter();
setAdapter(adapter);
}
use of android.support.v7.widget.LinearLayoutManager in project cw-omnibus by commonsguy.
the class MainActivity method onCreate.
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setLayoutManager(new LinearLayoutManager(this));
adapter = new IconicAdapter();
setAdapter(adapter);
}
use of android.support.v7.widget.LinearLayoutManager in project cw-omnibus by commonsguy.
the class MainActivity method onCreate.
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setLayoutManager(new LinearLayoutManager(this));
setAdapter(new IconicAdapter());
}
use of android.support.v7.widget.LinearLayoutManager in project cw-omnibus by commonsguy.
the class MainActivity method onCreate.
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setLayoutManager(new LinearLayoutManager(this));
setAdapter(new IconicAdapter());
}
Aggregations