// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/GridViewActivity.java
// public class GridViewActivity extends AppCompatActivity {
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new GridViewFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/ListViewActivity.java
// public class ListViewActivity extends AppCompatActivity{
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new ListViewFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/RecyclerViewActivity.java
// public class RecyclerViewActivity extends AppCompatActivity {
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new RecyclerViewFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/ScrollViewActivity.java
// public class ScrollViewActivity extends AppCompatActivity {
// 
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new ScrollViewFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/SlidingIconTabActivity.java
// public class SlidingIconTabActivity extends AppCompatActivity {
// 
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     getSupportActionBar().setElevation(0);
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new SlidingIconTabFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/SlidingTabActivity.java
// public class SlidingTabActivity extends AppCompatActivity {
// 
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     getSupportActionBar().setElevation(0);
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new SlidingTabFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/SampleType.java
// public enum SampleType {
//   ScrollView, GridView, RecyclerView, ListView, SlidingTabLayout, SlidingIconTabLayout
// }


import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.androidstarterkit.module.sample.activity.GridViewActivity;
import com.androidstarterkit.module.sample.activity.ListViewActivity;
import com.androidstarterkit.module.R;
import com.androidstarterkit.module.sample.activity.RecyclerViewActivity;
import com.androidstarterkit.module.sample.activity.ScrollViewActivity;
import com.androidstarterkit.module.sample.activity.SlidingIconTabActivity;
import com.androidstarterkit.module.sample.activity.SlidingTabActivity;
import com.androidstarterkit.module.sample.SampleType;
import java.util.List;
    this.dataSet = dataSet;
    this.inflater = (LayoutInflater) context.getSystemService(
        Context.LAYOUT_INFLATER_SERVICE);
  }

  @Override
  public int getCount() {
    return dataSet.size();
  }

  @Override
  public Object getItem(int position) {
    return dataSet.get(position);
  }

  @Override
  public long getItemId(int position) {
    return 0;
  }

  @Override
  public View getView(final int position, View convertView, ViewGroup parent) {
    ViewHolder viewHolder;

    if (convertView == null) {
      convertView = inflater.inflate(R.layout.layout_main_list_item, parent, false);

      viewHolder = new ViewHolder();
      viewHolder.title= (TextView) convertView.findViewById(R.id.title);
      convertView.setTag(viewHolder);
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/GridViewActivity.java
// public class GridViewActivity extends AppCompatActivity {
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new GridViewFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/ListViewActivity.java
// public class ListViewActivity extends AppCompatActivity{
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new ListViewFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/RecyclerViewActivity.java
// public class RecyclerViewActivity extends AppCompatActivity {
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new RecyclerViewFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/ScrollViewActivity.java
// public class ScrollViewActivity extends AppCompatActivity {
// 
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new ScrollViewFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/SlidingIconTabActivity.java
// public class SlidingIconTabActivity extends AppCompatActivity {
// 
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     getSupportActionBar().setElevation(0);
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new SlidingIconTabFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/SlidingTabActivity.java
// public class SlidingTabActivity extends AppCompatActivity {
// 
//   @Override
//   protected void onCreate(Bundle savedInstanceState) {
//     super.onCreate(savedInstanceState);
// 
//     getSupportActionBar().setElevation(0);
//     setContentView(R.layout.activity_sample_main);
// 
//     if (savedInstanceState == null) {
//       getSupportFragmentManager()
//           .beginTransaction()
//           .add(R.id.container, new SlidingTabFragment())
//           .commit();
//     }
//   }
// }
// 
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/SampleType.java
// public enum SampleType {
//   ScrollView, GridView, RecyclerView, ListView, SlidingTabLayout, SlidingIconTabLayout
// }


// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/ui/adapter/MainBaseAdapter.java
import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.androidstarterkit.module.sample.activity.GridViewActivity;
import com.androidstarterkit.module.sample.activity.ListViewActivity;
import com.androidstarterkit.module.R;
import com.androidstarterkit.module.sample.activity.RecyclerViewActivity;
import com.androidstarterkit.module.sample.activity.ScrollViewActivity;
import com.androidstarterkit.module.sample.activity.SlidingIconTabActivity;
import com.androidstarterkit.module.sample.activity.SlidingTabActivity;
import com.androidstarterkit.module.sample.SampleType;
import java.util.List;

    this.dataSet = dataSet;
    this.inflater = (LayoutInflater) context.getSystemService(
        Context.LAYOUT_INFLATER_SERVICE);
  }

  @Override
  public int getCount() {
    return dataSet.size();
  }

  @Override
  public Object getItem(int position) {
    return dataSet.get(position);
  }

  @Override
  public long getItemId(int position) {
    return 0;
  }

  @Override
  public View getView(final int position, View convertView, ViewGroup parent) {
    ViewHolder viewHolder;

    if (convertView == null) {
      convertView = inflater.inflate(R.layout.layout_main_list_item, parent, false);

      viewHolder = new ViewHolder();
      viewHolder.title= (TextView) convertView.findViewById(R.id.title);
      convertView.setTag(viewHolder);
    } else {