/**
  * Use this factory method to create a new instance of this fragment using a URI.
  *
  * @param uri the payment uri
  * @return A new instance of fragment WalletSendCoins.
  */
 public static SendFragment newInstance(Uri uri) {
   SendFragment fragment = new SendFragment();
   Bundle args = new Bundle();
   args.putString(Constants.ARG_URI, uri.toString());
   fragment.setArguments(args);
   return fragment;
 }
 /**
  * Use this factory method to create a new instance of this fragment using the an account id.
  *
  * @param accountId the id of an account
  * @return A new instance of fragment WalletSendCoins.
  */
 public static SendFragment newInstance(String accountId) {
   SendFragment fragment = new SendFragment();
   Bundle args = new Bundle();
   args.putSerializable(Constants.ARG_ACCOUNT_ID, accountId);
   fragment.setArguments(args);
   return fragment;
 }