Search in sources :

Example 1 with AdminVerifyStoreAdapter

use of com.example.asus.onlinecanteen.adapter.AdminVerifyStoreAdapter in project OnlineCanteen by josephgunawan97.

the class AdminVerifyStoreActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_admin_verify_store);
    getSupportActionBar().setTitle("Verify Store");
    stores = new ArrayList<Store>();
    adapter = new AdminVerifyStoreAdapter(stores);
    recyclerView = (RecyclerView) findViewById(R.id.adminverifystore_recycler_view);
    layoutManager = new LinearLayoutManager(this);
    recyclerView.setLayoutManager(layoutManager);
    recyclerView.setAdapter(adapter);
}
Also used : Store(com.example.asus.onlinecanteen.model.Store) LinearLayoutManager(android.support.v7.widget.LinearLayoutManager) AdminVerifyStoreAdapter(com.example.asus.onlinecanteen.adapter.AdminVerifyStoreAdapter)

Aggregations

LinearLayoutManager (android.support.v7.widget.LinearLayoutManager)1 AdminVerifyStoreAdapter (com.example.asus.onlinecanteen.adapter.AdminVerifyStoreAdapter)1 Store (com.example.asus.onlinecanteen.model.Store)1