コード例 #1
0
 @Override
 public void handleMessage(Message msg) {
   MoneyFragment fragment = mFragment.get();
   if (fragment != null) {
     if (msg.what == 0) {
       fragment.closeDeleteMode();
     }
   }
 }
コード例 #2
0
  public static MoneyFragment newIntance(String startDate, String endDate) {

    MoneyFragment moneyFragment = new MoneyFragment();

    Bundle bundle = new Bundle();
    bundle.putString("startDate", startDate);
    bundle.putString("endDate", endDate);
    moneyFragment.setArguments(bundle);

    return moneyFragment;
  }