On hardware back button dismiss loading


#1

Can any one tell how to dismiss loading and go to previous page if hardware back button clicked?