title: Values not showing in android recyclerview
body: <p>I have a recyclerview in my project and data not bind to the recyclerview. I am getting data from the server and data correctly come. I put a Toast in the Adapter Class and it is working. I cannot figure out the problem. </p>
  
  <p>Activity Class....</p>
  
  <pre><code>public class ViewDealerCompln extends AppCompatActivity {
  
      @Override
      protected void onCreate(@Nullable Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.view_dealer_complain);
  
          typeface = Typeface.createFromAsset(getAssets(), "productsans.ttf");
  
          recyclerView = (RecyclerView) findViewById(R.id.com_recyclerView);
  
          compList = new ArrayList&lt;&gt;();
  
          toolbar = (Toolbar) findViewById(R.id.com_view_app_bar);
          TextView mTitle = (TextView) toolbar.findViewById(R.id.toolbar_title);
          setSupportActionBar(toolbar);
          getSupportActionBar().setDisplayHomeAsUpEnabled(true);
          getSupportActionBar().setTitle("");
          mTitle.setText("Complain History");
          mTitle.setTypeface(typeface);
  
          repID = DealerListAdapter.getRepID();
          dealerID = DealerListAdapter.getDealerID();
  
          mLayoutManager = new LinearLayoutManager(this);
          recyclerView.setLayoutManager(mLayoutManager);
  
          recyclerView.setAdapter(adcAdapter);
  
          getData();
      }
  
      private void getData() {
  
          String tag_string_req = "req_data";
  
          request = new StringRequest(Request.Method.POST, AppConfig.URL_JSON_GETCOMPLAIN, new Response.Listener&lt;String&gt;() {
              @Override
              public void onResponse(String response) {
  
                  try {
                      JSONObject jsonObject = new JSONObject(response);
                      if (jsonObject.names().get(0).equals("feed")) {
                          JSONArray jsonFeedArray = jsonObject.getJSONArray("feed");
                          if (jsonFeedArray.length() &gt; 0) {
  
                              for (int i = 0; i &lt; jsonFeedArray.length(); i++) {
                                  JSONObject currentObject = jsonFeedArray.getJSONObject(i);
                                  String namemm = currentObject.getString("compId");
                                  compList.add(namemm);
                              }
                              adcAdapter = new ViewDealerComplainAdapter(ViewDealerCompln.this, compList);
  
                          } else {
                              Toast.makeText(getApplicationContext(), "No data Available!", Toast.LENGTH_SHORT).show();
                          }
  
                      } else {
                          Toast.makeText(getApplicationContext(), "Invalid Response from the server!", Toast.LENGTH_SHORT).show();
                      }
  
                  } catch (JSONException e) {
                      e.printStackTrace();
                  }
  
              }
          }, new Response.ErrorListener() {
              @Override
              public void onErrorResponse(VolleyError error) {
  
              }
          }) {
  
          };
  
      }
  
  }
  </code></pre>
  
  <p>Adapter class...</p>
  
  <pre><code>public class ViewDealerComplainAdapter extends RecyclerView.Adapter&lt;ViewDealerComplainAdapter.ItemViewHolder&gt; {
  
      private LayoutInflater inflater;
      private ArrayList&lt;String&gt; subList;
      private Context context;
  
      public ViewDealerComplainAdapter(Context context, ArrayList&lt;String&gt; a) {
          this.context = context;
          inflater = LayoutInflater.from(context);
          this.subList = a;
          Toast.makeText(context, subList.toString(), Toast.LENGTH_SHORT).show();
      }
  
      @Override
      public ItemViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
          View view = inflater.inflate(R.layout.custom_complain_list_row, parent, false);
          ViewDealerComplainAdapter.ItemViewHolder holder = new ViewDealerComplainAdapter.ItemViewHolder(view);
          return holder;
      }
  
      @Override
      public void onBindViewHolder(ItemViewHolder holder, int position) {
          holder.title.setText(subList.get(position));
      }
  
      @Override
      public int getItemCount() {
          return subList.size();
      }
  
      public class ItemViewHolder extends RecyclerView.ViewHolder {
          private TextView title;
  
          public ItemViewHolder(View itemView) {
              super(itemView);
              title = (TextView) itemView.findViewById(R.id.compHID);
          }
      }
  }
  </code></pre>
  
  <p>custom row layout...</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="48dp"&gt;
  
      &lt;TextView
          android:id="@+id/compHID"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@color/white"
          android:padding="10dp" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>main layout...</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"&gt;
  
      &lt;include
          android:id="@+id/com_view_app_bar"
          layout="@layout/app_toolbar_send_complain"&gt;&lt;/include&gt;
  
      &lt;android.support.v7.widget.RecyclerView
          android:id="@+id/com_recyclerView"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:padding="5dp"&gt;
  
      &lt;/android.support.v7.widget.RecyclerView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>