title: getContext() not recognised
body: <p>In <code>getContext()</code> its showing "Non-static method 'getContext()' cannot be referenced from a static context" how to solve it,or what should i call instead of it.</p>
  
  <pre><code>public class CategoryAdapter extends RecyclerView.Adapter&lt;CategoryAdapter.ViewHolder &gt; {
  
  private List&lt;CategoryModel&gt; CategoryModelList;
  
  public CategoryAdapter(List&lt;CategoryModel&gt; categoryModelList) {
      CategoryModelList = categoryModelList;
  }
  
  @NonNull
  @Override
  public CategoryAdapter.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int viewType) {
      View view = LayoutInflater.from(ViewGroup.getContext()).Inflate(R.layout.category_item,viewGroup,false);
      return null;
  }
  
  @Override
  public void onBindViewHolder(@NonNull CategoryAdapter.ViewHolder holder, int position) {
  
  }
  
  @Override
  public int getItemCount() {
      return 0;
  }
  </code></pre>