Can we pls see the User model class. It could help in understanding the adapter code.
Joseph Joey
1

The User model class would look like as below:

public class User {
private String userId;
private String name;
private String email;
private String profilePic;
private int type;

// All getters and retters
public int getType() {
return USER_TYPE_1; // Can be USER_TYPE_2 or USER_TYPE_3
}
}

Let me know, if you still need any more help.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.