0

I'm building an app which will scan QRcode and get values from the database. I currently have listview for this purpose, What I want is to dynamically generate textView and editText according to data row count.

Tanveer Munir
  • 1,956
  • 1
  • 12
  • 27
JJIqbal
  • 630
  • 1
  • 8
  • 23

1 Answers1

1

It's better to use a Recycler view for this.

  • create a layout with edit text and needed buttons
  • Add this layout to recycle view using an adapter
  • Make sure to use TextWatcher.Things will get crazy when you scroll.
Lenzman
  • 1,177
  • 18
  • 30