Created
March 28, 2024 09:53
-
-
Save VahidHoseini-ir/362fb8dee09182e52f38de89bbb2c62c to your computer and use it in GitHub Desktop.
TempListItem name and avatar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TempListItem { | |
private String[] name = { | |
"Emily", | |
"James", | |
"Sophia", | |
"William", | |
"Olivia", | |
"Benjamin", | |
"Ava", | |
"Alexander", | |
"Mia", | |
"Michael", | |
"Charlotte", | |
"Daniel", | |
"Amelia", | |
"Matthew", | |
"Harper", | |
"Christopher", | |
"Ella", | |
"David" | |
}; | |
private int[] avatar = { | |
R.drawable.avatar1, | |
R.drawable.avatar2, | |
R.drawable.avatar3, | |
R.drawable.avatar4, | |
R.drawable.avatar5, | |
R.drawable.avatar6, | |
R.drawable.avatar7, | |
R.drawable.avatar8, | |
R.drawable.avatar9, | |
R.drawable.avatar10, | |
R.drawable.avatar11, | |
R.drawable.avatar12, | |
R.drawable.avatar13, | |
R.drawable.avatar14, | |
R.drawable.avatar15, | |
R.drawable.avatar16, | |
R.drawable.avatar17, | |
R.drawable.avatar18 | |
}; | |
public String[] getName() { | |
return name; | |
} | |
public int[] getAvatar() { | |
return avatar; | |
} | |
} |
Author
VahidHoseini-ir
commented
Mar 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment