排程编辑更新
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.ckkj.water.plan;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
|
||||
@@ -76,7 +77,9 @@ public class PlanDetailActivity extends BaseActivity<WaterPlanDetailLayoutBindin
|
||||
case R.id.btn_edit:
|
||||
if(mDetailEntity != null){
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putSerializable("plan_entity",mPlanEntity);
|
||||
bundle.putSerializable("plan_entity", mDetailEntity);
|
||||
bundle.putBoolean("is_edit", true);
|
||||
goTo(mContext, AddWaterPlanActivity.class,bundle);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user