I now can not understand how to do it.
I have a RecyclerView in ViewHolder I make bind fields and data to show the user.
So I give the LiveData to LiveData to subscribe to it in ViewHolder , but
public void observe(@NonNull LifecycleOwner owner, @NonNull Observer<T> observer) accepts a LifecycleOwner owner which is not in the ViewHolder
there is a method
public void observeForever(@NonNull Observer<T> observer) which needs nothing.
So the question is
1) how correct it is to subscribe to LiveData in ViewHolder
2) if so, is it necessary to transfer to the ViewHolder LifecycleOwner or to subscribe to observeForever and that's it?