title: RecyclerView won't display my database content
body: <p>I have a database of Users and I'm trying to use a RecyclerView to display every User entry I have. From my logs, I can tell that my RecyclerView isn't even being interacted with. Here is the class where I call it:</p>
  
  <pre><code>public class WelcomePage extends AppCompatActivity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_welcome_page);
  
      FragmentManager manager = getFragmentManager();
      RecyclerFragment mRecyclerFragment = new RecyclerFragment();
      if(mRecyclerFragment == null) {
          manager.beginTransaction()
                  .add(R.id.recycler, mRecyclerFragment)
                  .commit();
      }
  }
  }
  </code></pre>
  
  <p>This is my holder class: </p>
  
  <pre><code>public class RecyclerHolder extends RecyclerView.ViewHolder{
  
  private static final String TAG = "RecyclerHolder";
  
  private TextView mFullName;
  private TextView mBirthDate;
  private TextView mHomeTown;
  private TextView mBio;
  User mUser;
  
  RecyclerHolder(View itemView){
      super(itemView);
  
      mFullName = (TextView)itemView.findViewById(R.id.text_view_name);
      mBirthDate = (TextView)itemView.findViewById(R.id.text_view_birthday);
      mHomeTown = (TextView)itemView.findViewById(R.id.text_view_hometown);
      mBio = (TextView)itemView.findViewById(R.id.text_view_bio);
  
  public void bind(User user) {
      mUser = user;
      mFullName.setText(user.getFullName());
      mBirthDate.setText(user.getBirthDate().toString());
      mHomeTown.setText(user.getHomeTown());
      mBio.setText(user.getBio());
  }
  
  }
  </code></pre>
  
  <p>Here's my adapter class:</p>
  
  <pre><code>public class RecyclerAdapter extends RecyclerView.Adapter&lt;RecyclerHolder&gt; {
  private ArrayList&lt;User&gt; mUsers;
  
  public RecyclerAdapter(ArrayList&lt;User&gt; user) {
      mUsers = user;
  }
  
  @Override
  public RecyclerHolder onCreateViewHolder(ViewGroup parent, int viewType) {
      LayoutInflater inflater = LayoutInflater.from(parent.getContext());
      View view = inflater.inflate(R.layout.view_recycler, parent, false);
      RecyclerHolder holder = new RecyclerHolder(view);
      return holder;
  }
  
  @Override
  public void onBindViewHolder(RecyclerHolder holder, int position){
      holder.bind(mUsers.get(position));
  
  }
  
  @Override
  public int getItemCount() {
      return mUsers.size();
  }
  
  }
  </code></pre>
  
  <p>Here's my fragment class:</p>
  
  <pre><code>public class RecyclerFragment extends Fragment {
  
  private RecyclerView mRecyclerView;
  DBCursorWrapper db;
  
  public RecyclerFragment() {
  }
  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
                           Bundle savedInstanceState) {
      View view =  inflater.inflate(R.layout.fragment_recycler, container, false);
      mRecyclerView = (RecyclerView)view.findViewById(R.id.recycler);
      mRecyclerView.setLayoutManager(new LinearLayoutManager(getActivity()));
  
      RecyclerAdapter adapter = new RecyclerAdapter(db.getUserList());
      mRecyclerView.setAdapter(adapter);
  
      return view;
  
  }
  
  }
  </code></pre>
  
  <p>Here is the XML for my holder:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:id="@+id/view_recycler"&gt;
  
  &lt;TextView
      android:id="@+id/text_view"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:gravity="center"
      /&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Here is my XML for my fragment:</p>
  
  <pre><code>&lt;android.support.v7.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/recycler"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  tools:context="com.csc214.just4kas.project02.RecyclerFragment"&gt;
  
  &lt;/android.support.v7.widget.RecyclerView&gt;
  </code></pre>
  
  <p>Here is my XML for where I call my RecyclerView:</p>
  
  <pre><code>&lt;FrameLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/frame_layout_recycler_view"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  tools:context="com.csc214.just4kas.project02.WelcomePage"&gt;
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>The getUserList() has been tested individually and works perfectly!</p>
  
  <p>Any help would be super appreciated! I just want a RecyclerView of all the contents in my database!! Thanks!</p>