It's different. One is for binding the view and one is for binding data to the view. If you just use databinding for its findViewById property than you should use viewBinding. But if your using databinding to actually create a bind between data and XML than you should use databinding.