// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/ui/view/ScrollViewFragment.java
// public class ScrollViewFragment extends Fragment {
//   private static final String ARG_POSITION = "position";
// 
//   public static ScrollViewFragment newInstance(int position) {
//     ScrollViewFragment fragment = new ScrollViewFragment();
//     Bundle args = new Bundle();
//     args.putInt(ARG_POSITION, position);
//     fragment.setArguments(args);
//     return fragment;
//   }
// 
//   @Override
//   public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//     View view = inflater.inflate(R.layout.fragment_main, null);
//     TextView posTxt = (TextView) view.findViewById(R.id.pos_txt);
//     posTxt.setText("Hello, this's a ScrollView");
//     return view;
//   }
// }


import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.androidstarterkit.module.R;
import com.androidstarterkit.module.ui.view.ScrollViewFragment;
package com.androidstarterkit.module.sample.activity;



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()
// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/ui/view/ScrollViewFragment.java
// public class ScrollViewFragment extends Fragment {
//   private static final String ARG_POSITION = "position";
// 
//   public static ScrollViewFragment newInstance(int position) {
//     ScrollViewFragment fragment = new ScrollViewFragment();
//     Bundle args = new Bundle();
//     args.putInt(ARG_POSITION, position);
//     fragment.setArguments(args);
//     return fragment;
//   }
// 
//   @Override
//   public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
//     View view = inflater.inflate(R.layout.fragment_main, null);
//     TextView posTxt = (TextView) view.findViewById(R.id.pos_txt);
//     posTxt.setText("Hello, this's a ScrollView");
//     return view;
//   }
// }


// Path: ask-remote-module/src/main/java/com/androidstarterkit/module/sample/activity/ScrollViewActivity.java
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import com.androidstarterkit.module.R;
import com.androidstarterkit.module.ui.view.ScrollViewFragment;

package com.androidstarterkit.module.sample.activity;



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())