// Path: app/src/prod/java/com/wiseass/profiler/data/auth/AuthInjection.java
// public class AuthInjection {
// 
//     public static AuthSource provideAuthSource(){
//         return FirebaseAuthService.getInstance();
//     }
// 
// }
// 
// Path: app/src/mock/java/com/wiseass/profiler/data/database/DatabaseInjection.java
// public class DatabaseInjection {
//     public static DatabaseSource provideDatabaseSource() {
//         return FakeDatabaseService.getInstance();
//     }
// }
// 
// Path: app/src/mock/java/com/wiseass/profiler/data/scheduler/SchedulerInjection.java
// public class SchedulerInjection {
// 
//     public static BaseSchedulerProvider provideSchedulerProvider(){
//         return ImmediateSchedulerProvider.getInstance();
//     }
// 
// }
// 
// Path: app/src/main/java/com/wiseass/profiler/profilepage/ProfilePageActivity.java
// public class ProfilePageActivity extends AppCompatActivity {
//     private static final String PAGE_FRAGMENT = "PAGE_FRAGMENT";
// 
//     private FragmentManager manager;
// 
//     @Override
//     protected void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         setContentView(R.layout.activity_profile_page);
// 
//         manager = this.getFragmentManager();
// 
//         ProfilePageFragment fragment = (ProfilePageFragment) manager.findFragmentByTag(PAGE_FRAGMENT);
// 
//         if (fragment == null){
//             fragment = ProfilePageFragment.newInstance();
//         }
// 
//         FragmentTransaction transaction = manager.beginTransaction();
//         transaction.replace(R.id.cont_profile_page_fragment, fragment, PAGE_FRAGMENT)
//                 .commit();
// 
//     }
// }


import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.StringRes;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.Toast;
import com.wiseass.profiler.R;
import com.wiseass.profiler.data.auth.AuthInjection;
import com.wiseass.profiler.data.database.DatabaseInjection;
import com.wiseass.profiler.data.scheduler.SchedulerInjection;
import com.wiseass.profiler.profilepage.ProfilePageActivity;
package com.wiseass.profiler.profiledetail;





public class ProfileDetailFragment extends Fragment implements ProfileDetailContract.View {

    private EditText bioInput, interestsInput;
    private ImageButton back, done;
    private ProfileDetailContract.Presenter presenter;

    public ProfileDetailFragment() {
        // Required empty public constructor
    }

    // TODO: Rename and change types and number of parameters
    public static ProfileDetailFragment newInstance() {
        ProfileDetailFragment fragment = new ProfileDetailFragment();
        return fragment;
    }

    @Override
    public void onActivityCreated (Bundle savedInstanceState){
        super.onActivityCreated(savedInstanceState);
        if (presenter == null) {
            presenter = new ProfileDetailPresenter(
                    AuthInjection.provideAuthSource(),
                    this,
// Path: app/src/prod/java/com/wiseass/profiler/data/auth/AuthInjection.java
// public class AuthInjection {
// 
//     public static AuthSource provideAuthSource(){
//         return FirebaseAuthService.getInstance();
//     }
// 
// }
// 
// Path: app/src/mock/java/com/wiseass/profiler/data/database/DatabaseInjection.java
// public class DatabaseInjection {
//     public static DatabaseSource provideDatabaseSource() {
//         return FakeDatabaseService.getInstance();
//     }
// }
// 
// Path: app/src/mock/java/com/wiseass/profiler/data/scheduler/SchedulerInjection.java
// public class SchedulerInjection {
// 
//     public static BaseSchedulerProvider provideSchedulerProvider(){
//         return ImmediateSchedulerProvider.getInstance();
//     }
// 
// }
// 
// Path: app/src/main/java/com/wiseass/profiler/profilepage/ProfilePageActivity.java
// public class ProfilePageActivity extends AppCompatActivity {
//     private static final String PAGE_FRAGMENT = "PAGE_FRAGMENT";
// 
//     private FragmentManager manager;
// 
//     @Override
//     protected void onCreate(Bundle savedInstanceState) {
//         super.onCreate(savedInstanceState);
//         setContentView(R.layout.activity_profile_page);
// 
//         manager = this.getFragmentManager();
// 
//         ProfilePageFragment fragment = (ProfilePageFragment) manager.findFragmentByTag(PAGE_FRAGMENT);
// 
//         if (fragment == null){
//             fragment = ProfilePageFragment.newInstance();
//         }
// 
//         FragmentTransaction transaction = manager.beginTransaction();
//         transaction.replace(R.id.cont_profile_page_fragment, fragment, PAGE_FRAGMENT)
//                 .commit();
// 
//     }
// }


// Path: app/src/main/java/com/wiseass/profiler/profiledetail/ProfileDetailFragment.java
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.StringRes;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.Toast;
import com.wiseass.profiler.R;
import com.wiseass.profiler.data.auth.AuthInjection;
import com.wiseass.profiler.data.database.DatabaseInjection;
import com.wiseass.profiler.data.scheduler.SchedulerInjection;
import com.wiseass.profiler.profilepage.ProfilePageActivity;

package com.wiseass.profiler.profiledetail;





public class ProfileDetailFragment extends Fragment implements ProfileDetailContract.View {

    private EditText bioInput, interestsInput;
    private ImageButton back, done;
    private ProfileDetailContract.Presenter presenter;

    public ProfileDetailFragment() {
        // Required empty public constructor
    }

    // TODO: Rename and change types and number of parameters
    public static ProfileDetailFragment newInstance() {
        ProfileDetailFragment fragment = new ProfileDetailFragment();
        return fragment;
    }

    @Override
    public void onActivityCreated (Bundle savedInstanceState){
        super.onActivityCreated(savedInstanceState);
        if (presenter == null) {
            presenter = new ProfileDetailPresenter(
                    AuthInjection.provideAuthSource(),
                    this,
                    DatabaseInjection.provideDatabaseSource(),