android - binding [row,col] value to a textView -


This is my first Android app and I have problems with choosing the best adapter for my application, I like the table The table is, I want to bind the specified rows of the VALUE column, my question is: 1- How can I bind [line 1, 3] TextView


_ID | NODE | Value


1 | Link | Google.com


2 | Details | Search

  MyDataBase mDB = New MyDataBase (this); Cursor cursor = mDB.all (this); String [] from = new string [] {mDB.VALUE}; Int [] to = new int [] {R.id.text1View1}; Simple Cursor Adapter Adapter = New Simple Carrier Adapter (It, R. Layout.man, cursor, from, to);    

You can use "view.setTag (object)", your cases The footage in is TextView and the object will probably have a string with row and column information.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -