Skip to content

Commit

Permalink
UI
Browse files Browse the repository at this point in the history
  • Loading branch information
patelshubh1022 committed Apr 12, 2024
1 parent e759aa4 commit 8d02d13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.group3.spotifywrapped.summary;

import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.media.Image;
Expand Down Expand Up @@ -27,7 +28,6 @@
import androidx.recyclerview.widget.RecyclerView;

import com.group3.spotifywrapped.R;
import com.group3.spotifywrapped.ViewModel.SummaryViewModel;
import com.group3.spotifywrapped.database.Artist;
import com.group3.spotifywrapped.database.FirebaseHelper;
import com.group3.spotifywrapped.database.SpotifyItem;
Expand Down Expand Up @@ -74,7 +74,7 @@ public SummaryActivity.MyViewHolder onCreateViewHolder(@NonNull ViewGroup parent
}

@Override
public void onBindViewHolder(@NonNull SummaryActivity.MyViewHolder holder, int position) {
public void onBindViewHolder(@NonNull SummaryActivity.MyViewHolder holder, @SuppressLint("RecyclerView") int position) {
holder.songNameView.setText(items.get(position).name);
holder.songNumberView.setText(Integer.toString(position + 1));
holder.albumCoverView.setImageDrawable(items.get(position).getImage());
Expand Down

0 comments on commit 8d02d13

Please sign in to comment.