As I understand, Pickers have an Delegate class. Why’s there an additional Datasource needed?
As I understand, Pickers have an Delegate class. Why’s there an additional Datasource needed?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a difference between a delegate and a datasource.
A datasource is typically used to configure what is displayed by a control. ‘How many rows do you have?’, ‘What should i display in this row’, etc.
A delegate is usually used to let the controlling code know that something happened. ‘Hey someone selected this row.’, ‘Hey someone started editing this row.’