android how to set value for edittext

android how to set value for edittext
EditText input1 = (EditText)findViewById(R.id.idofnameinput);
input1.setText("Lautturi");
Source‮www:‬.lautturi.com
Created Time:2017-09-18 20:54:11  Author:lautturi