1. What is a navigation Drawer?
It is a widget that animate
a ViewPager
Is a panel that display
app’s main navigation options on the left edge of the screen
Is a panel that display
app’s main navigation options on the right edge of the screen
2. Which of the following is a design pattern that avoids frequent call of
findViewById() during ListView scrolling?
ListView
RelativeLayout
ViewHolder
3. Examine the following code:
Which is the missing line to add succesfully the fragment to the Activity
fragmentTransaction.commit();
No need to add an extra
line since fragmentTransaction.add() add the fragment to the Activity
fragmentTransaction.addToActivity();
4. Which three methods we must implement for a RecyclerView?
onCreateViewHolder(),
onDraw() and getItemCount()
onCreateViewHolder(),
onAttachView() and getItemCount()
ConCreateViewHolder(),
onBindViewHolder() and getItemCount()
5. What is the primary use of a CoordinatorLayout?
A container for animations
A container for a specific
interaction with one or more child views
A container for a specific
interaction with snackBar and ReciclerView
6. What are unit test?
Is a block of code that
helps to develop software faster
Is a block of code that
validates another block of code that the result is expected
Is code that Android auto
generated to verify that java code is correct implemented
Suposse whe have the next UI test on Espresso
7. Which is the obtained result?
The code will throw an
error
Unsuccessful
Successful
8. Which widget let the user to swipe left or right showing an entire new
screen?
ListView
ViewPager
Intent
9. When is recomended to use a floating action button?
When we have space
available on the screen
When we want to use an
intent on a button
When we have a clear action
on the screen, that represent a primary action
10. A container for displaying large data sets that can be scrolled very
efficiently by maintaining a limited number of views.
RelativeLayout
RecyclerView
LinearLayout
No comments:
Post a Comment