java - Get unique identifier for view in ExpandableList Android -


I want to create an ArrayList or map that has a childview checked status. However to do this I need a unique identifier for each view.

I tried view.getId (), but returned 1 for each row in the list.

Example:

  • A1 = 0
  • A2 = 1
  • B1 = 0
  • < / Ul>

    The only thing I see is the composition of the group and the combination of the child, unless someone else knows nothing else. So is there a way to create a map or array list in which there is an easy index of two different integers?

    Or is there a way to combine childposition and groupPosition to get a basic identifier that I can use for each childView? <

I am afraid that there is nothing magic.


Comments

Popular posts from this blog

python - Strange behavior using PyQt4's 'pyqtSlot' decorator before another decorator -

c# - UnhandledExceptionMode.ThrowException for AppDomain.UnhandledException -

c# - Process.Kill() returns access denied -