java - areAllItemsEnabled method -


searched through , found explanation areallitemsenabled(): indicates whether items in adapter enabled. saw method in google project might useful , don't know why. question when use it?

my question when use @ practice , whether there benefits of using this?

from documentation:

public boolean areallitemsenabled () 

indicates whether items in adapter enabled. if value returned method changes on time, there no guarantee take effect. if true, means items selectable , clickable (there no separator.)

returns true if items enabled, false otherwise.

use when need know whether items selectable , clickable


Comments