MODULE 5 Flashcards

1
Q

_____ are pop-ups for notifications or confirmation messages

A

Dialog windows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

_____ are sophisticated classes of layouts and UI elements

A

Dialogs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Best way to create a dialog window in Android is to use the _____ class

A

DialogFragment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

_____ is calling more than one method on the same object in a single line

A

Chaining

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

_____ sets the message for a dialog window

A

Builder.setMessage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

_____ sets the “OK” as the text of the button in the dialog window

A

.setPositiveButton

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

return statement takes the control to _____ class

A

MainActivity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

_____ handles clicks on the button on dialog windows

A

DialongInterface.onClickListener

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Click on _____ to constrain some UI element

A

Infer Constraints

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

_____ are used to define colors, images, layouts, and string values

A

Resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

_____ are rules for naming in code

A

Naming conventions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When a variable is a _____, name of variable is prefixed with lowercase m

A

member of a class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

_____ are used to avoid hardcoding text in layouts

A

String resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

_____ displays large scrollable amounts of data easily

A

RecyclerView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Interacting with RecyclerView is done through the _____ class

A

RecyclerAdapter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

_____ controls data from an ArrayList and displays it

A

RecyclerAdapter

15
Q

_____ manages the arrangement of data in RecyclerView

A

LayoutManager

16
Q

_____ holds the data to be shown for each view in RecycleView

A

ViewHolder

16
Q

_____ connects data with views in RecycleView

A

RecyclerView.Adapter

17
Q

_____ creates ViewHolder and View

A

onCreateViewHolder

18
Q

_____ fills ViewHolders with data

A

onBindViewHolder

19
Q

_____ returns the total number of items in data

A

getItemCount

20
Q

_____ reads layout description and coverts it into View items

A

LayoutInflater