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? ;)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!