CBSE BOARD X, asked by subashree06, 1 year ago

difference between checked and selected attribute.

and also difference between input box and check box.

Answers

Answered by BhuvanyuChadha
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.

Similar questions