title: How to use fragment with ViewBinding?
body: <p>I want to create a fragment with ViewBinding but my code not working. I read <a href="https://developer.android.com/topic/libraries/view-binding" rel="noreferrer">ViewBinding Documentation</a> but my fragment not show.
  This is my code:</p>
  
  <p>fragment_player.xml</p>
  
  <pre><code>&lt;androidx.coordinatorlayout.widget.CoordinatorLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"&gt;
  
  &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:text="Test fragment"/&gt;
  
  &lt;/androidx.coordinatorlayout.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>layout_main.xml</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  
  &lt;fragment
      android:id="@+id/fragment_player"
      class="com.test.plo.view.PlayerFragment"
      android:name="com.test.plo.view.PlayerFragment"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>PlayerFragment.java</p>
  
  <pre><code> public class PlayerFragment extends Fragment {
  
     private FragmentPlayerBinding fragmentPlayerBinding;
  
     @Nullable
     @Override
     public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
  
         fragmentPlayerBinding = FragmentPlayerBinding.inflate(inflater, container, false);
         View view = fragmentPlayerBinding.getRoot();
         return view;
     }
  
    @Override
    public void onDestroyView() {
        super.onDestroyView();
        fragmentPlayerBinding = null;
    }
  
  }
  </code></pre>
  
  <p>Can anyone help me?</p>