Sapient
Company
Programming
The following syntax is used to implement loader class in Android getLoaderManager().initLoader(0,null,this);
Which of the following is correct about parameters taken by initLoader method?
1) first parameter: Unique Id
second parameter: A Bundle
third parameter: Callback class
2) first parameter: Unique Id
second parameter: CallBack class
third parameter: A bundle
3) first parameter: Callback class
second parameter: Unique id
third parameter: A bundle
4) None of the given options
Read Solution (Total 1)
-
- Option 1: initLoader(0,null,this) will take unique ID as first parameter to load , then loader bundle , and at last the class which have to be callback
- 7 years agoHelpfull: Yes(2) No(0)
Sapient Other Question