Getting pagename on android hardware backbutton functionality


registerBackButtonAction this function works great but i am unable to get the page name or component name on backbutton press . can you please suggest me


there you have different methods like last(), first() previous(), getActive()


Thanks for the reply . will check and get back to you.