title: Data Binding: Pass LiveData as is to BindingAdapter and observe it using a LifecycleOwner
body: <p>I want to pass a <code>LiveData</code> as is to <code>BindingAdapter</code>.</p>
  
  <p>Inside the <code>BindingAdapter</code> I want to do a <code>Transformations.map</code> and display different options the user can select and when clicked send the result back using the same <code>LiveData</code>.</p>
  
  <p>In order to observe the <code>LiveData</code> in the <code>BindingAdapter</code> I need access to the <code>LifecycleOwner</code>, ideally of the fragment view. I need that if I want to call <code>.observe</code> on the liveData or set the <code>LifecycleOwner</code> on the new binding I create inside the <code>BindingAdapter</code>.</p>
  
  <p>Any idea how I can do that?</p>