Releases: kiritdevda/Android
Releases · kiritdevda/Android
Bug Fix
Thhis realease has following changes
It is basically a bug fix release
Following are bugs which were noticed and rectified
1. When screen orientation is changed even if the user have cheated he can still answer the question
2. When screen orientation of CheatActivity is changed after viewing answer he can still answer the question
RCA:
1.When orientation changes Activity is deleted and re-created due to which the local variable are reset to default values
Resolution:
1. set this variable in saveInstanceState() bundle for same Activity
2. To save instance state across different activities call activitie susing method
startActivityForResult(intent, 0)
3.To get this instance in parent activity override method :
onActivityResult(int requestCode, int resultCode, Intent data)
the above method is called as soon as parent activity return only if child actibvity is called using startActivityForResult() method
Android Lifecycle method added
Android Lifecycle added in this build like
public void onStart()
public void onStop()
public void onResume()
public void onDestroy()
Single question app
The asks single question and says whether answer is true or false