Android Application Development AND-401 Dumps in PDF

Free Android AND-401 Real Questions (page: 8)

Which of the following is the base class of all UI components?

  1. ListView
  2. Layout
  3. View
  4. ViewGroup

Answer(s): C

Explanation:

View is the base class for android.widget subclasses, which instantiate fully-implemented UI objects. Reference:
http://eagle.phys.utk.edu/guidry/android/androidUserInterface.html



Which of the following is true about object arrayAdapter declared in the code below?

String[] items = {“Item 1”,”Item 2”,”Item 3”};
ArrayAdapter<String> arrayAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, items);
listView.setAdapter(arrayAdapter);

  1. It creates a TextView for each String in array items.
  2. It creates Buttons for each String in array items.
  3. It creates four views for listView.
  4. It replaces the layout of the activity with three consecutive TextView items.

Answer(s): A



Which of the following is NOT a correct constructer for ArrayAdapter?

  1. ArrayAdapter(Context context)
  2. ArrayAdapter (Context context, int recourse)
  3. ArayAdpater (Context context , int resource, int textViewResourceId)
  4. ArrayAdapter (Context context , int resource, List<T> items)

Answer(s): A

Explanation:

Public ArrayAdapter Constructors include:
public ArrayAdapter (Context context, int resource)
public ArrayAdapter (Context context, int resource, int textViewResourceId)
public ArrayAdapter (Context context, int resource, List<T> objects)


Reference:

http://developer.android.com/reference/android/widget/ArrayAdapter.html



Which of the following add a click listener to items in a listView?

  1. onClickListener.
  2. onItemClickListener.
  3. onItemClicked.
  4. onListItemClickListener.

Answer(s): B

Explanation:

AdapterView.OnItemClickListener is an interface definition for a callback to be invoked when an item in this AdapterView has been clicked.


Reference:

http://developer.android.com/reference/android/widget/AdapterView.OnItemClickListener.html



Which of the following makes a ListView Clickable?

  1. setClickable(true)
  2. setVisibility(View.Visible)
  3. setEnabled(true)
  4. setItemsEnabled(true)

Answer(s): C



Share your comments for Android AND-401 exam with other users:

N
Not Robot
5/14/2023 5:33:00 PM

are these comments real

K
kriah
9/4/2023 10:44:00 PM

please upload the latest dumps

E
ed
12/17/2023 1:41:00 PM

a company runs its workloads on premises. the company wants to forecast the cost of running a large application on aws. which aws service or tool can the company use to obtain this information? pricing calculator ... the aws pricing calculator is primarily used for estimating future costs

M
Muru
12/29/2023 10:23:00 AM

looks interesting

T
Tech Lady
10/17/2023 12:36:00 PM

thanks! that’s amazing

M
Mike
8/20/2023 5:12:00 PM

the exam dumps are helping me get a solid foundation on the practical techniques and practices needed to be successful in the auditing world.

N
Nobody
9/18/2023 6:35:00 PM

q 14 should be dmz sever1 and notepad.exe why does note pad have a 443 connection

M
Muhammad Rawish Siddiqui
12/4/2023 12:17:00 PM

question # 108, correct answers are business growth and risk reduction.

E
Emmah
7/29/2023 9:59:00 AM

are these valid chfi questions

M
Mort
10/19/2023 7:09:00 PM

question: 162 should be dlp (b)

E
Eknath
10/4/2023 1:21:00 AM

good exam questions

N
Nizam
6/16/2023 7:29:00 AM

I have to say this is really close to real exam. Passed my exam with this.

P
poran
11/20/2023 4:43:00 AM

good analytics question

A
Antony
11/23/2023 11:36:00 AM

this looks accurate

E
Ethan
8/23/2023 12:52:00 AM

question 46, the answer should be data "virtualization" (not visualization).

N
nSiva
9/22/2023 5:58:00 AM

its useful.

R
Ranveer
7/26/2023 7:26:00 PM

Pass this exam 3 days ago. The PDF version and the Xengine App is quite useful.

S
Sanjay
8/15/2023 10:22:00 AM

informative for me.

T
Tom
12/12/2023 8:53:00 PM

question 134s answer shoule be "dlp"

A
Alex
11/7/2023 11:02:00 AM

in 72 the answer must be [sys_user_has_role] table.

F
Finn
5/4/2023 10:21:00 PM

i appreciated the mix of multiple-choice and short answer questions. i passed my exam this morning.

A
AJ
7/13/2023 8:33:00 AM

great to find this website, thanks

C
Curtis Nakawaki
6/29/2023 9:11:00 PM

examination questions seem to be relevant.

U
Umashankar Sharma
10/22/2023 9:39:00 AM

planning to take psm test

E
ED SHAW
7/31/2023 10:34:00 AM

please allow to download

A
AD
7/22/2023 11:29:00 AM

please provide dumps

A
Ayyjayy
11/6/2023 7:29:00 AM

is the answer to question 15 correct ? i feel like the answer should be b

B
Blessious Phiri
8/12/2023 11:56:00 AM

its getting more technical

J
Jeanine J
7/11/2023 3:04:00 PM

i think these questions are what i need.

A
Aderonke
10/23/2023 2:13:00 PM

helpful assessment

T
Tom
1/5/2024 2:32:00 AM

i am confused about the answers to the questions. do you know if the answers are correct?

V
Vinit N.
8/28/2023 2:33:00 AM

hi, please make the dumps available for my upcoming examination.

S
Sanyog Deshpande
9/14/2023 7:05:00 AM

good practice

T
Tyron
9/8/2023 12:12:00 AM

so far it is really informative

AI Tutor 👋 I’m here to help!