@@ -0,0 +1,1922 @@
+package com.psychic_engine.cmput301w17t10.feelsappman;%0A%0Aimport android.os.Bundle;%0Aimport android.support.annotation.Nullable;%0Aimport android.support.v7.app.AppCompatActivity;%0Aimport android.widget.ImageView;%0Aimport android.widget.TextView;%0A%0Aimport java.util.ArrayList;%0A%0A/**%0A * Created by jyuen1 on 3/12/2017.%0A */%0A%0A/**%0A * This is an activity/view class that displays information about a mood.%0A */%0Apublic class ViewMoodEventActivity extends AppCompatActivity%7B%0A    private TextView name;%0A    private TextView dateTime;%0A    private ImageView photo;%0A    private TextView location;%0A    private ImageView icon;%0A    private TextView trigger;%0A    private ImageView socialIcon;%0A%0A    @Override%0A    protected void onCreate(@Nullable Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        setContentView(R.layout.mood_event);%0A%0A        name = (TextView) findViewById(R.id.me_name);%0A        dateTime = (TextView) findViewById(R.id.me_date_time);%0A        photo = (ImageView) findViewById(R.id.me_photo);%0A        location = (TextView) findViewById(R.id.me_location);%0A        icon = (ImageView) findViewById(R.id.me_icon);%0A        trigger = (TextView) findViewById(R.id.me_trigger);%0A        socialIcon = (ImageView) findViewById(R.id.me_social);%0A%0A        Participant self = ParticipantSingleton.getInstance().getSelfParticipant();%0A        MoodEvent moodEvent = null;%0A%0A        try %7B%0A            ArrayList%3CMoodEvent%3E moodEventList = self.getMoodList();%0A            moodEvent = moodEventList.get(moodEventList.size() - 1);    // TODO: get appropriate mood later, right now gets the most recent image%0A        %7D catch (IndexOutOfBoundsException e) %7B%0A            e.printStackTrace();%0A        %7D%0A        name.setText(self.getLogin());%0A        dateTime.setText(moodEvent.getDate().toString());%0A        //photo%0A        //location%0A        //icon%0A        trigger.setText(moodEvent.getTrigger());%0A        //socialIcon%0A%0A    %7D%0A%7D%0A

Create ViewMoodEventActivity.java