| | |
| | | import cn.flightfeather.thirdapp.bean.entity.Scense; |
| | | import cn.flightfeather.thirdapp.bean.entity.Subtask; |
| | | import cn.flightfeather.thirdapp.bean.entity.Town; |
| | | import cn.flightfeather.thirdapp.module.MainActivity; |
| | | import cn.flightfeather.thirdapp.task.ObtainBoundaryRunnable; |
| | | import cn.flightfeather.thirdapp.util.Area; |
| | | import cn.flightfeather.thirdapp.util.CommonUtils; |
| | |
| | | } |
| | | break; |
| | | case R.id.iBtn_data: |
| | | Intent detailIntent = new Intent(this, TaskDetailActivity.class); |
| | | detailIntent.putExtra(Constant.KEY_INTENT_SUBTASK, mSubTaskList.get(curPos)); |
| | | startActivity(detailIntent); |
| | | // Intent detailIntent = new Intent(this, TaskDetailActivity.class); |
| | | // detailIntent.putExtra(Constant.KEY_INTENT_SUBTASK, mSubTaskList.get(curPos)); |
| | | // startActivity(detailIntent); |
| | | break; |
| | | case R.id.iBtn_inspection: |
| | | Intent inspectionIntent = new Intent(this, MainActivity.class); |
| | | inspectionIntent.putExtra(Constant.KEY_INTENT_SUBTASK, mSubTaskList.get(curPos)); |
| | | setResult(RESULT_OK, inspectionIntent); |
| | | this.finish(); |
| | | // Intent inspectionIntent = new Intent(this, MainActivity.class); |
| | | // inspectionIntent.putExtra(Constant.KEY_INTENT_SUBTASK, mSubTaskList.get(curPos)); |
| | | // setResult(RESULT_OK, inspectionIntent); |
| | | // this.finish(); |
| | | break; |
| | | } |
| | | } |