Implement Navigation Logic for Todo Item Creation #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement Navigation Logic for Todo Item Creation
Description
Task
Implement navigation logic to return to main activity after todo item creation
Acceptance Criteria
Summary of Work
This pull request implements the navigation logic to return to the main activity after successfully creating a new todo item.
Changes Made
navigateToMainActivity()method in CreateTodoItemActivityIntent.FLAG_ACTIVITY_CLEAR_TOPandIntent.FLAG_ACTIVITY_NEW_TASKto manage back stackImplementation Details
saveTodoItem()method's coroutine scopenavigateToMainActivity()is calledfinish()to close the current activityTesting
Notes
Changes Made
Tests
Signatures
Staking Key
3xQbq9mdMksp9N7ZrshCYvUmr1dTUnAfXQGP6B4AwStt: 2Nu4skdUvkdf1SNH1crxwghan7zmumbPan4bAUcwTMYagMoPvVhLXj8XnFaJubjXe6xmMYKVR4PAAcPsCooW9QjLHPPHP1JUc772n7HiW7s5G7qKVcxp7s8PVfZ3THgvdB7rRFtN8ZgnQ9UzjFmi7QDEkjuvMjAyxiSE2m6uddArmghdMCw55hQAz3sxFyLat7KRx2R7amBh1rxQBHMW5uSufo1uwCvfUiWfpY7T5SgagzxKX1icDiMjKX1vrwqFH71JTQGrH9E93MfCdq2kSFgdy11YQw35TRQrwwWT6FfpwKaK9mPe5WxadHE7DoAHyLoA5DRxCqGJsiT1oTKM56WUJ4hFocAn4uGx4dHovfPE1nB4rXVH7N8K2eTSSHXj1ihi9s23vybzQBLqa47smrjPLwhz9gvNG
Public Key
Hm6epzunYc7F1Bqyzk64r5LWWNqVuExDFRr36AUQmFPt: 8tr6noqH6N1ZNzjY9xSGcm7GpRfiv8R9NcdGXjHv6WCCSiWdhu6aW2VnLrK4GPYETYTAJfzLNcGgvmneNinbnZh1XDKJ14BbJbfUzu62pn6Fu94SvJJvJGSSKbGLAGudyBUFzXW57rb9BfymyFghJvDy6DMmEaxiKNdV7iSKNwzfzf4S3uKk9JX2GMqWJSZs7gj7DDAv8wd1fjUo7pFjo48iZi6EnFvFcg1eZ1tYBu2D79uPqnL8jwZnHzhaLfbauS1jozpyvwmmFokRKn12H2Q7xpY6oKGvJYR5Gpn94YcQ3uEf87REtc6r1Ee6hvG2BWp1LujdpYrf4FC5erKpPxC2tjWgDDnb8HziDB5VRHR8c9TZU5SBjVqv1Wt1cSmD2v5xV5ytvXwiPCHEXcbFWStLzrCdR53iC