Answers to Tuesday Quiz part II

Answers to Tuesday Quiz part II

by Tony deLaubenfels -
Number of replies: 4

Include the question, the answer, and source of the definitive answer

In reply to Tony deLaubenfels

Re: Answers to Tuesday Quiz part II

by Kat Sayrs -

6. What is the effect of the command mDateButton.setEnabled(false);

It disables the Button, meaning it cannot be clicked.

In reply to Tony deLaubenfels

Re: Answers to Tuesday Quiz part II

by Eric Andow -

3) What are the elements of the Android software stack? 

a) A Linux kernel

b) Android runtime and libraries

c) Android Framework (including Managers)

d) Key Applications

In reply to Tony deLaubenfels

Re: Answers to Tuesday Quiz part II

by TJ Robison -

A. Jelly Bean, Kit Kat, Lollipop, Marshmallow

B. The above Android versions are used by 88.7% of devices. (Assuming 4.1 or higher, according to the new project tool in android studio)

C. Developers can be sure that their API works across all of these devices.

In reply to Tony deLaubenfels

Re: Answers to Tuesday Quiz part II

by Akash Surti -

We have used anonymous inner classes in our labs. What role do they play?

The anonymous inner class has access to the final outer variables, this makes the code easier to follow. They help remember that everything within the outermost set of parentheses is passed through the inner class. Basically used for stylistic preference.


Reference:

http://stackoverflow.com/questions/19265626/why-should-i-use-anonymous-classes-in-android-instead-of-class-redefinition