Question: 1(2 points). The Model is the middleman between the __________________ and the Controller. Answer: 2(3 points).By default an ArrayAdapter creates a view for each item

1(2 points). The Model is the middleman between the __________________ and the Controller.

Answer:

2(3 points).By default an ArrayAdapter creates a view for each item in the array by calling ________ on each item and placing the result in a TextView.

Answer:

3 (3 points). In order to register a TextWatcher on a GUI component, we call the ____________ method.

Answer:

4 (3 points). You have created the private class BH. Inside the onCreate method of the current activity, a Button b has been created. What is the function of the next two lines?

BH bh = new BH( );

b.setOnClickListener( bh );

Answer:

5 (3 points). If button b is clicked, what is the output of the program?

private class ButtonHandler implements View.OnClickListener

{

public void onClick( View v )

{

if( b == v )

Log.w( "MA", "YES" );

else

Log.w( "MA", "NO" ):

}

}

Answer:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!