Saturday 26 August 2017

TextView value change in another view in android app

in android project, there is string.xml under res/values folder. we use this 'strings.xml' to store variable properties:

add below new name in strings.xml

<string name="string_value1">Value from strings.xml</string>


Now, add textview and render strings.xml name - value in this texview



Now, lets change the value of TextView from java code:




No comments:

Post a Comment

Extract error records while inserting into db table using JDBCIO apache beam in java

 I was inserting data into postgres db using apache beam pipeline. it works perfectly with JdbcIO write of apache beam library. But, now, i ...