我正在尝试消除我的Android应用程序的所有警告,其中之一是:viewModel.valueisaboxedfieldbutneedstobeun-boxedtoexecuteandroid:checked.ThismaycauseNPEsoDataBindingwillsafelyunboxit.YoucanchangetheexpressionandexplicitlywrapviewModel.valuewithsafeUnbox()topreventthewarning其中值是来自父类(superclass)的通用ObservableField:publicabstractc