Which of the following applies a context menu on a ListView (Choose two) ?
A) ListView lv = getListView() ; lv.registerForContextMenu()
B) registerForContextMenu(lv) ;
C) ListView lv = (ListView) findViewByld(R.id.list_view_id) ; registerForContextMenu(lv)
D) getListView() .setContextMenuEnabled(true)
Correct Answer:
Verified
Q109: Which of the following are layout-related methods
Q110: Which of the following is a valid
Q111: Which of the following Material Theme attributes
Q112: Which of the following is true about
Q113: Which of the following best defines an
Q115: Which of the following are benefits for
Q116: Which one of the following is not
Q117: Which of the following statements is NOT
Q118: AppCompayActivity is the base class for activities
Q119: Which of the following is NOT correct
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents