content: package com.example.ruru.android_slidingconflictdemo.sameDirection;
  
  import android.os.Bundle;
  import android.support.annotation.Nullable;
  import android.support.v7.app.AppCompatActivity;
  import android.support.v7.widget.LinearLayoutManager;
  import android.support.v7.widget.RecyclerView;
  import android.view.View;
  import android.widget.ListView;
  
  import com.example.ruru.android_slidingconflictdemo.R;
  import com.example.ruru.android_slidingconflictdemo.adapter.SubRvAdapter;
  import com.example.ruru.android_slidingconflictdemo.data.DataModel;
  import com.example.ruru.android_slidingconflictdemo.sameUI.SV_LV_inner;
  
  public class SV_LV extends AppCompatActivity {
  
      private SV_LV_inner rv;
  
      @Override
      protected void onCreate(@Nullable Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_sv_lv);
  
          initView();
      }
  
      private void initView() {
          rv = findViewById(R.id.rv);
          rv.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false));
          rv.setAdapter(new SubRvAdapter(this, DataModel.getStringList2()));
      }
  }
  