Struggling to Answer Revision test on Android Activities and lifecycle -


i trying complete revision test on android mobile application development , stuck on final question-

  1. the following code part of activity reads , writes data file stored on device. app should work lifecycle methods make sure data automatically stored , displayed. code contains 4 common errors should highlight

am right in thinking last 2 functions don't need protected? , edittext , listview should elsewhere?

any appreciated.

thanks

i guess following errors:

1) edittext typecast listview illegal

2)the toast wouldn't show without .show() function in end of maketext()

3 & 4) onresume , onpause public!

i no expert, guess these errors probably!


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -