@Override
  public void onLoadFinished(Loader loader, Object data) {
    recyclerView = (RecyclerView) findViewById(R.id.store_list);
    recyclerView.setLayoutManager(new LinearLayoutManager(this));
    recyclerView.setItemAnimator(new DefaultItemAnimator());

    mStoreList = (ArrayList<Store>) data;
    mStoreAdaptor = new StoreAdapter(this, R.layout.store_layout, mStoreList);
    recyclerView.setAdapter(mStoreAdaptor);

    // Create an instance of the dialog fragment and show it
    mStoreAdaptor.SetOnItemClickListener(this);

    ItemTouchHelper.Callback callback = new ListItemTouchHelper();
    ItemTouchHelper itemTouchHelper = new ItemTouchHelper(callback);
    itemTouchHelper.attachToRecyclerView(recyclerView);
    ((ListItemTouchHelper) callback)
        .SetOnItemClickListener(
            new ListItemTouchHelper.OnItemSwipeListener() {
              @Override
              public void onItemSwipe(int position) {
                mStoreDbAdapter.deleteStore(mStoreList.get(position));
                mStoreList.remove(position);
                mStoreAdaptor.notifyDataSetChanged();
                Toast.makeText(StoreListActivity.this, "position: " + position, Toast.LENGTH_SHORT)
                    .show();
              }
            });
  }