difference between checked and selected attribute.
and also difference between input box and check box.
Answers
Answered by
0
It's a bit long answer...
So here is the difference:
Activated was introduced in Honeycomb so you can't use it before that
Activated is now a property of every View. It has methods setActivated() and isActivated()
Activated propagates to children of the View on which it is set
Checked revolves around a View implementing the Checkable interface. Methods setChecked(), isChecked(), toggle()
ListView (after Honeycomb) calls setChecked() OR setActivated() depending on Android Version.
So here is the difference:
Activated was introduced in Honeycomb so you can't use it before that
Activated is now a property of every View. It has methods setActivated() and isActivated()
Activated propagates to children of the View on which it is set
Checked revolves around a View implementing the Checkable interface. Methods setChecked(), isChecked(), toggle()
ListView (after Honeycomb) calls setChecked() OR setActivated() depending on Android Version.
Similar questions
Hindi,
7 months ago
English,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago