Java for Android Studio

Java for Android Studio
0.0 0

#1

May i know what TextView txtTitle = (TextView)findViewById(R.id.txtSongTitle);

    txtTitle.setText(title);
   
    TextView txtArtist = (TextView)findViewById(R.id.txtArtist);
    
    txtArtist.setText(artist);

    int imageId = AppUtil.getImageIdFromDrawable(this, coverArt);
    ImageView ivCoverArt = (ImageView)findViewById(R.id.imgCoverArt);
    ivCoverArt.setImageResource(imageId);

May i know what the above means and what is it’s purpose?


#2

@Pro How far along in the fCC curriculum are you?

One should have the information one needs to understand this after completing the Javascript Algorithms And Data Structures Certification.


#3

Hi,may i know which topic it is under? I have not yet attempted the lessons