interpret OnClickListener in a TableLayout

  • Hello!
    I've been trying to generate TextViews within a TableLayout from a Database with the ability to edit fields by (long)clicking on them. Is it possible to get the TextViews' ID with only one Listener on the table?
    If not: Would I have to generate hundreds of onClickListeners to the generated table elements? And how does such source code generation work?
    Maybe as simple as in php? ;)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!