public void getusername(ArrayList<HashMap<String, String>> contactList) {
String usernamenew=edituser.getText().toString().trim();
try{
if (contactList.equals(usernamenew)) {
Toast.makeText(this, "Correct", Toast.LENGTH_SHORT).show();
}
else {
Toast.makeText(this, "Invalid Username", Toast.LENGTH_SHORT).show();
}
}catch (Exception g){
Toast.makeText(this, ""+g.getMessage(), Toast.LENGTH_SHORT).show();
}
}