Added: 2 years ago
From: ElonCsProf
Views: 2,764
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (2)

Sign In or Sign Up now to post a comment!
  • im finding your videos very helpful but its impossible to read the text, do you have source code posted anywhere?

  • The NEWLINE is just a convenience for when I want to add a new line character to the String buttonText that I build up to display on the Toast.

    The private TextView mBoldTextView is the declaration of a variable mBoldTextView of type TextView. This variable will be assigned a reference to the TextView with the id bold specified in the layout/main.xml file.

    m is prefix used in the Android coding conventions for private data members of a class.

  • What does the ' private static final String NEWLINE = "\n" ' do?

    Also when you write ' private TextView mBoldTextView; ' are you creating a new item which is the textview?

    What is the m for?

    Just needed a bit of justification.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more