// Path: app/src/main/java/com/paulds/simpleftp/presentation/model/MainViewModel.java
// public class MainViewModel extends BaseObservable {
//     /**
//      * The activity context.
//      */
//     private Context context;
// 
//     /**
//      * Default constructor.
//      * @param context The context of the current activity.
//      */
//     public MainViewModel(Context context) {
//         this.context = context;
//     }
// 
//     /**
//      * Open the server list activity.
//      * @param view The current view
//      */
//     public void openParameters(View view) {
//         Intent intent = new Intent(context, ListServerActivity.class);
//         context.startActivity(intent);
//     }
// }


import android.databinding.DataBindingUtil;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import com.paulds.simpleftp.R;
import com.paulds.simpleftp.databinding.ActivityMainBinding;
import com.paulds.simpleftp.presentation.model.MainViewModel;
package com.paulds.simpleftp.presentation.activities;



/**
 * The main activity, which displays 2 explorers
 *
 * @author Paul-DS
 */
public class MainActivity extends AppCompatActivity {

    /**
     * Method called at activity creation.
     * @param savedInstanceState The saved instance state.
     */
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        ActivityMainBinding binding = DataBindingUtil.setContentView(this, R.layout.activity_main);
// Path: app/src/main/java/com/paulds/simpleftp/presentation/model/MainViewModel.java
// public class MainViewModel extends BaseObservable {
//     /**
//      * The activity context.
//      */
//     private Context context;
// 
//     /**
//      * Default constructor.
//      * @param context The context of the current activity.
//      */
//     public MainViewModel(Context context) {
//         this.context = context;
//     }
// 
//     /**
//      * Open the server list activity.
//      * @param view The current view
//      */
//     public void openParameters(View view) {
//         Intent intent = new Intent(context, ListServerActivity.class);
//         context.startActivity(intent);
//     }
// }


// Path: app/src/main/java/com/paulds/simpleftp/presentation/activities/MainActivity.java
import android.databinding.DataBindingUtil;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import com.paulds.simpleftp.R;
import com.paulds.simpleftp.databinding.ActivityMainBinding;
import com.paulds.simpleftp.presentation.model.MainViewModel;

package com.paulds.simpleftp.presentation.activities;



/**
 * The main activity, which displays 2 explorers
 *
 * @author Paul-DS
 */
public class MainActivity extends AppCompatActivity {

    /**
     * Method called at activity creation.
     * @param savedInstanceState The saved instance state.
     */
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        ActivityMainBinding binding = DataBindingUtil.setContentView(this, R.layout.activity_main);
        MainViewModel viewModel = new MainViewModel(this);