Skip to content

Commit

Permalink
Updated readme with the demo code and screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
jaibatrik committed Jul 25, 2016
1 parent b27c691 commit ee8d21a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Expand Up @@ -14,15 +14,12 @@ ArrayAdapter<String> adapter2 =
ArrayAdapter<String> adapter3 =
new ArrayAdapter<>(this, R.layout.item_list, android.R.id.text1, arrayList3);

TextView tv1 = (TextView) getLayoutInflater().inflate(R.layout.item_header, null, false)
.findViewById(R.id.headerText);
tv1.setText("Header 1");
TextView tv2 = (TextView) getLayoutInflater().inflate(R.layout.item_header, null, false)
.findViewById(R.id.headerText);
tv2.setText("Header 2");
TextView tv3 = (TextView) getLayoutInflater().inflate(R.layout.item_header, null, false)
.findViewById(R.id.headerText);
tv3.setText("Header 3");
TextView tv1 = new TextView(this);
tv1.setText(R.string.header_1);
TextView tv2 = new TextView(this);
tv2.setText(R.string.header_2);
TextView tv3 = new TextView(this);
tv3.setText(R.string.header_3);

SectionedMergeAdapter adapter = new SectionedMergeAdapter();

Expand Down

0 comments on commit ee8d21a

Please sign in to comment.