@Override
 public int getItemCount() {
   return _mEarthquakeList.getEarthquakeList().size();
 }
 /**
  * Here we pass our model to another activity by an intent when the cell of the list was
  * clicked.
  *
  * @param v
  */
 @Override
 public void onClick(View v) {
   Intent intent = new Intent(_activity, EarthquakeDetailActivity.class);
   intent.putExtra("earthquake", _mEarthquakeList.getEarthquakeList().get(getPosition()));
   _activity.startActivity(intent);
 }
 /**
  * Here we set the values for the cell. Depends on the item of the list.
  *
  * @param holder
  * @param position
  */
 @Override
 public void onBindViewHolder(ViewHolder holder, int position) {
   holder.txtRegion.setText(_mEarthquakeList.getEarthquakeList().get(position).getRegion());
   holder.txtMagnitude.setText(_mEarthquakeList.getEarthquakeList().get(position).getMagnitude());
 }