| | |
| | | import android.arch.lifecycle.Observer |
| | | import android.os.Bundle |
| | | import cn.flightfeather.thirdapp.adapter.ProblemListAdapter |
| | | import cn.flightfeather.thirdapp.fragment.InspectionFragment |
| | | import cn.flightfeather.thirdapp.model.event.InspectionEvent |
| | | import cn.flightfeather.thirdapp.model.event.ProblemEvent |
| | | import kotlinx.android.synthetic.main.dialog_problem_list.* |
| | |
| | | |
| | | override fun onCreate(savedInstanceState: Bundle?) { |
| | | super.onCreate(savedInstanceState) |
| | | EventBus.getDefault().register(this) |
| | | |
| | | viewModel.problemList.observe(this, Observer { |
| | | it?.let { |