The Mifos Initiative
Mifos Mobile CN app: Open Profile Activity on Clicking the picture in Dashboard Activity
Objective
The User should be able to view their profile picture on clicking on the picture icon in Dashboard Fragment
Description
- Go to Dashboard Activity
- in OnViewCreated function set a onclicklistner for iv_user_image
- Create a new function to start an intent to open CustomerProfileActivity
- in the OnClick function add a new line mapping the iv_user_image to the new fucntion you have created
References
https://stackoverflow.com/questions/4186021/how-to-start-new-activity-on-button-click https://stackoverflow.com/questions/51672231/kotlin-button-onclicklistener-event-inside-a-fragment
How to get help
If you need help, be sure to post your question to our developer mailing list or ask in our chatroom.
Task tags
Students who completed this task
PiyushSharma99