The purpose of this homework is to leverage animations and gestures to implement more sophisticated interactions. We're going to use the techniques from this week to implement the Mailbox interactions.

Time spent: 6

Features

Required

  • On dragging the message left:

    • Initially, the revealed background color should be gray.
    • As the reschedule icon is revealed, it should start semi-transparent and become fully opaque. If released at this point, the message should return to its initial position.
    • After 60 pts, the later icon should start moving with the translation and the background should change to yellow.
      • Upon release, the message should continue to reveal the yellow background. When the animation it complete, it should show the reschedule options.
    • After 260 pts, the icon should change to the list icon and the background color should change to brown.
      • Upon release, the message should continue to reveal the brown background. When the animation it complete, it should show the list options.
  • User can tap to dismiss the reschedule or list options. After the reschedule or list options are dismissed, you should see the message finish the hide animation.

  • On dragging the message right:

    • Initially, the revealed background color should be gray.
    • As the archive icon is revealed, it should start semi-transparent and become fully opaque. If released at this point, the message should return to its initial position.
    • After 60 pts, the archive icon should start moving with the translation and the background should change to green.
      • Upon release, the message should continue to reveal the green background. When the animation it complete, it should hide the message.
    • After 260 pts, the icon should change to the delete icon and the background color should change to red.

Walkthrough of all implemented user stories: https://github.com/sindunarasimhan/mailbox-assignment3/blob/master/mailbox.gif