Android Textinputlayout Password Toggle Not Working Programmatically

Android Textinputlayout Password Toggle Not Working Programmatically