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

  1. Go to Dashboard Activity
  2. in OnViewCreated function set a onclicklistner for iv_user_image
  3. Create a new function to start an intent to open CustomerProfileActivity
  4. 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

  • GCI
  • kotlin
  • Android
  • good first issue
  • Mifos

Students who completed this task

PiyushSharma99

Task type

  • code Code
close

2019