Advertisement
Samuel_Berkat_Hulu

DataSource

Jun 25th, 2024
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.78 KB | None | 0 0
  1. class Datasource() {
  2.     fun loadAffirmations(): List<Affirmation> {
  3.         return listOf<Affirmation>(
  4.             Affirmation(R.string.affirmation1, R.drawable.image1),
  5.             Affirmation(R.string.affirmation2, R.drawable.image2),
  6.             Affirmation(R.string.affirmation3, R.drawable.image3),
  7.             Affirmation(R.string.affirmation4, R.drawable.image4),
  8.             Affirmation(R.string.affirmation5, R.drawable.image5),
  9.             Affirmation(R.string.affirmation6, R.drawable.image6),
  10.             Affirmation(R.string.affirmation7, R.drawable.image7),
  11.             Affirmation(R.string.affirmation8, R.drawable.image8),
  12.             Affirmation(R.string.affirmation9, R.drawable.image9),
  13.             Affirmation(R.string.affirmation10, R.drawable.image10))
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement