I need to change the arrow icon back to the hamburger icon.
In my case,
A particular section in my activity changes depending on network response. I implemented all network calls.
And On the successful response, I changed the fragments. Everything works fine.
Except one,
When I change fragments the hamburger icon change to the back arrow icon. I really don't need the back functionality or anything related to the back arrow.
I tried to change it back. But can't solve it.
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
actionBarDrawerToggle.setDrawerIndicatorEnabled(true);
I know this is a silly question but I can't solve it. Please help.