package com.example.lit.userprofile;

import android.graphics.Bitmap;

import com.example.lit.habit.Habit;
import com.example.lit.habitevent.HabitEvent;

import java.util.ArrayList;

/**
 * Created by Riley Dixon on 21/10/2017.
 */
/**
public abstract class UserProfile {
    private String name; //Assumed to be unique.
    private String profileDescription;
    private Bitmap profileImage;
    private ArrayList<Habit> currentHabits;
    private ArrayList<HabitEvent> habitCompletionHistory;
    private ArrayList<String> followingUsers;
    //followingUsers should be NULL unless the profile being viewed
    //is that of the current user
    //private ArrayList<String> followedUsers; Depending on how we manage this

    public UserProfile() { //Dummy Constructor, sets nullable.

    }

    public UserProfile(String name){ //New Account

    }

    public UserProfile(String name, String profileDescription,
                       Bitmap profileImage, ArrayList<Habit> currentHabits,
                       ArrayList<HabitEvent> habitCompletionHistory,
                       ArrayList<String> followingUsers){

    }

    public void setName(String name){

    }

    public String getName(){

    }

    public void setProfileDescription(String name){

    }

    public String getProfileDecription(){

    }

    public void setProfileImage(Bitmap image){

    }

    public Bitmap getProfileImage(){

    }

    public void setCurrentHabits(ArrayList<Habit> currentHabits){

    }

    public ArrayList<Habit> getCurrentHabits(){

    }

    public Habit getHabit(int habitPosition){

    }

    public void setHabitCompletionHistory(
            ArrayList<HabitEvent> habitCompletionHistory){

    }

    public ArrayList<HabitEvent> getHabitCompletionHistory(){

    }

    public HabitEvent getHabitEvent(int eventPosititon){

    }

    public void setFollowingUsers(
            ArrayList<String> followingUsers){

    }

    public ArrayList<String> getFollowingUsers(){

    }

    public String getFollowingUser(int userPosition){

    }

    public void addHabit(Habit newHabit){

    }

    public void deleteHabit(Habit deletedHabit){

    }

    public void addHabitEvent(HabitEvent newHabitEvent){

    }

    public Boolean addFollowingUser(String name){

    }
    //False if the user is already following
    //True if the user added successfully

    public Boolean removeFollowingUser(){

    }


}
*/
@@ -132,14 +132,108 @@
 abit
-event.
+.NormalHabit;%0Aimport com.example.lit.habitevent.HabitEvent;%0Aimport com.example.lit.habitevent.Normal
 Habi
@@ -319,19 +319,16 @@
 17.%0A */%0A
-/**
 %0Apublic 
@@ -1241,32 +1241,57 @@
 e(String name)%7B%0A
+        this.name = name;
 %0A    %7D%0A%0A    publ
@@ -1307,24 +1307,49 @@
  getName()%7B%0A
+        return this.name;
 %0A    %7D%0A%0A    
@@ -1385,31 +1385,84 @@
 tion(String 
-name)%7B%0A
+description)%7B%0A        this.profileDescription = description;
 %0A    %7D%0A%0A    
@@ -1495,24 +1495,63 @@
 cription()%7B%0A
+        return this.profileDescription;
 %0A    %7D%0A%0A    
@@ -1597,53 +1597,286 @@
 e)%7B%0A
-%0A    %7D%0A%0A    public Bitmap getProfileImage()%7B%0A
+        //this.profileImage.createBitmap(image);%0A        this.profileImage = image; //May not work, needs to be tested%0A    %7D%0A%0A    public Bitmap getProfileImage()%7B%0A        int%5B%5D dumbArray = new int%5B1%5D;%0A        return Bitmap.createBitmap(dumbArray, 1, 1, Bitmap.Config.ARGB_8888);
 %0A   
@@ -1997,24 +1997,62 @@
 ntHabits()%7B%0A
+        return new ArrayList%3CHabit%3E();
 %0A    %7D%0A%0A    
@@ -2085,32 +2085,72 @@
 habitPosition)%7B%0A
+        return new NormalHabit(%22Dummy%22);
 %0A    %7D%0A%0A    publ
@@ -2183,29 +2183,16 @@
 History(
-%0A            
 ArrayLis
@@ -2296,24 +2296,67 @@
 nHistory()%7B%0A
+        return new ArrayList%3CHabitEvent%3E();
 %0A    %7D%0A%0A    
@@ -2404,24 +2404,69 @@
 Posititon)%7B%0A
+        return new NormalHabitEvent(%22Dummy%22);
 %0A    %7D%0A%0A    
@@ -2597,24 +2597,63 @@
 ingUsers()%7B%0A
+        return new ArrayList%3CString%3E();
 %0A    %7D%0A%0A    
@@ -2702,16 +2702,44 @@
 ition)%7B%0A
+        return new String();
 %0A    %7D%0A%0A
@@ -2917,25 +2917,25 @@
 %0A    public 
-B
+b
 oolean addFo
@@ -2960,16 +2960,36 @@
  name)%7B%0A
+        return true;
 %0A    %7D%0A 
@@ -3086,17 +3086,17 @@
  public 
-B
+b
 oolean r
@@ -3117,16 +3117,36 @@
 User()%7B%0A
+        return true;
 %0A    %7D%0A%0A
@@ -3148,10 +3148,8 @@
   %7D%0A%0A%0A%7D%0A
-*/

Fix methods to allow compilation