Mobile App Development 2022W Lecture 18

From Soma-notes
Jump to navigation Jump to search

Video

Video from the lecture given on March 23, 2022 is now available:

Video is also available through Brightspace (Resources->Zoom Meetings (Recordings, etc.)->Cloud Recordings tab). Note that here you'll also see chat messages.

Notes

Lecture 18
----------

Assigment 3 was due today (March 23rd)
Assignment 4 is due April 8th, last day of classes
  - I need to discuss solutions with you then
  - it will come out by Friday

Final exam is on April 14th

I will go over solutions for A3 on March 30th.
  - so that is the hard deadline
I'll go over midterm answers on March 25th or April 1st, depending.
  - first need to give you all grades

Today we'll go through Tutorial 9
  - maybe continue on Friday

There is no more Tutorial 10 - Tutorial 9 is the last one


So where do we have state in PicViewer2?
 - The actual image has a position x,y (and a scale and rotation)
 - the EditText's have their own values for x, y, scale, and rotation
 - we have to manually keep these in sync
    - and when we drag an image, we change the image's position but
      we don't automatically update the edittext's for x and y,
      so we have to do that manually
Note how we can't centralize state like we do in SwiftUI