Unable to select spinner item in android

As mentioned above, resetForm method is resetting the value of spinner with the first item using

subDivisionSpinner.setSelection(0);

so comment this and spinner should work as expected

private void resetForm(boolean all, boolean signal) {
    ...
    //subDivisionSpinner.setSelection(0); comment this
    //meterTypeSpinner.setSelection(0);

Following @Pavneet_Sing Solution. I have done the following and it's working now

private void resetForm(boolean all, boolean signal)
{
    if(all || signal)// if both true then reset form otherwise not
    {
        this.refNofield1.setText("");
        this.consumerNameEditText.setText("");
        this.consumerAddressEditText.setText("");
        this.longitudeEditText.setText("");
        this.latitudeEditText.setText("");
        this.placeEditText.setText("");
        //......
    }



}