button2.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
spinner.setSelection(0); //if the field is spinner
editText.setText(""); //if the field is EditText
}
});
solved Im implementing code for Reset form field please help me in regard this [closed]