package xyz.gsora.toot;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.DividerItemDecoration;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;

public class UserTimeline extends AppCompatActivity {

    private static final String TAG = UserTimeline.class.getSimpleName();

    RecyclerView statusList;
    StatusesListAdapter adpt;
    LinearLayoutManager llm;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_timeline);
        setTitle("Timeline");

        Mocker m = new Mocker(this);
        statusList = (RecyclerView) findViewById(R.id.statuses_list);
        llm = new LinearLayoutManager(getApplicationContext());
        DividerItemDecoration dividerItemDecoration = new DividerItemDecoration(statusList.getContext(),
                llm.getOrientation());
        statusList.setLayoutManager(llm);
        statusList.addItemDecoration(dividerItemDecoration);
        adpt = new StatusesListAdapter(m.getMockStatuses(), this.getApplicationContext());
        statusList.setAdapter(adpt);

    }
}

@@ -97,64 +97,8 @@
 ty;%0A
-import android.support.v7.widget.DividerItemDecoration;%0A
 impo
@@ -788,24 +788,25 @@
 ext());%0A
+%0A
         
 DividerI
@@ -797,37 +797,27 @@
         
+Cool
 Divider
-ItemDecoration
  divider
@@ -841,29 +841,19 @@
 new 
+Cool
 Divider
-ItemDecoration
 (sta
@@ -910,19 +910,69 @@
 tation()
+,%0A                72,%0A                R.id.avatar
 );%0A
+%0A
         

use the new divider style