@Override public void handleMessage(Message msg) { switch (msg.what) { case Status.SUCCESS: { daftarMonitoring.deleteSave( BundleEntityMaker.makeBundleFromDataMonitoring(dataMonitoring)); break; } case Status.FAILED: { break; } } }
public boolean onLongClick(View arg0) { DataMonitoring dataMonitoring = mDataMonitoring; Anak anak = mDataMonitoring.getAnak(); if (anak == null) { dataMonitoring = mDaftarMonitoring.databaseManager.getDataMonitoringByIdMonitoring( mDataMonitoring.getIdMonitoring(), true, true); } mDaftarMonitoring.showDialog( Operation.MULTIPLE_CHOICE, BundleEntityMaker.makeBundleFromDataMonitoring(dataMonitoring)); return false; }
public void onClick(View v) { mDaftarMonitoring.onEdit(BundleEntityMaker.makeBundleFromDataMonitoring(mDataMonitoring)); }