两者有什么区别?什么时候应该使用其中之一?当我定义一个BindingAdapter时,我是否必须创建一个反函数? 最佳答案 引用我自己的话,来自TheBusyCoder'sGuidetoAndroidDevelopment:Two-waybindingworkswellincaseswherethewayyoustorethedatainthemodelslinesupwellwiththegettersandsettersoftheassociatedwidget.Abooleanfieldinthemodelworkswellw