Thursday, 18 June 2015

Android Add-update-delete-list



Add:

On the list page, click for opening the "add" page:


This line of code above which is marked is very important, without it, the "add" page can return, but not able to get "onActivityResult" function called.


On the "new note page", submit button clicked for creating a new note:



list page get "new note page" return (from submit button clicked)


Edit:

List page click item to open another page

List page click to edit item in another page:

Get data from when the edit page show:



edit cancel button:

cancel button clicked on the edit page:

the List page get edit page return:


Delete

Delete by contaxt menu: (on the list page)


delete confirm window:


















No comments:

Post a comment