title: How can I retrieve all users from firebase database without getting current user?
body: <p>Im using Recycler view to retrieve all users from firebase like below </p>
  
  <pre><code>@Override
      public void onViewCreated(final View view, @Nullable Bundle savedInstanceState) {
          super.onViewCreated(view, savedInstanceState);
  
          databaseReference = FirebaseDatabase.getInstance().getReference().child("users");
  
          firebaseRecyclerAdapter = new FirebaseRecyclerAdapter&lt;AllUsers, AllUsersViewHolder&gt;
                  (AllUsers.class, R.layout.all_users_display_layout, AllUsersViewHolder.class, databaseReference) {
              @Override
              protected void populateViewHolder(AllUsersViewHolder viewHolder, AllUsers model, final int position) {
                  viewHolder.setName(model.getName());
  
                  viewHolder.view.setOnClickListener(new View.OnClickListener() {
                      @Override
                      public void onClick(View v) {
  
                          String visit_user_id = getRef(position).getKey();
  
                          Intent intent = new Intent(getActivity(), UserProfilesActivity.class);
                          intent.putExtra("visit_user_id", visit_user_id);
                          startActivity(intent);
                      }
                  });
              }
          };
          all_user_list.setAdapter(firebaseRecyclerAdapter);
      }
  
      public static class AllUsersViewHolder extends RecyclerView.ViewHolder {
  
          View view;
  
          public AllUsersViewHolder(View itemView) {
              super(itemView);
              view = itemView;
          }
  
          public void setName(String name) {
              TextView all_user_name = (TextView) view.findViewById(R.id.all_user_name);
              all_user_name.setText(name);
          }
      }
  </code></pre>
  
  <blockquote>
    <p>How can I retrieve users without the current users becasuse Im using
    this list to add friend scenario</p>
  </blockquote>
  
  <p>and my database structure like below </p>
  
  <pre><code>users
      key
        name:xxxx
      key
        name:yyyy
  </code></pre>
  
  <p>please help me im new to these stuff</p>