/** Remove current shopping list and its items from all nodes */
 public void removeList() {
   /* Create an instance of the dialog fragment and show it */
   DialogFragment dialog =
       RemoveListDialogFragment.newInstance(mShoppingList, mListId, mSharedWithUsers);
   dialog.show(getFragmentManager(), "RemoveListDialogFragment");
 }
 /**
  * Public static constructor that creates fragment and passes a bundle with data into it when
  * adapter is created
  */
 public static RemoveListDialogFragment newInstance(ShoppingList shoppingList) {
   RemoveListDialogFragment removeListDialogFragment = new RemoveListDialogFragment();
   Bundle bundle = new Bundle();
   removeListDialogFragment.setArguments(bundle);
   return removeListDialogFragment;
 }