Skip to content

Commit 28aded6

Browse files
authored
Update README.md
1 parent eca22dc commit 28aded6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ dependencies {
1616
Usages
1717
====
1818
```xml
19-
<com.loopeer.cardstack.CardStackView
20-
android:layout_width="match_parent"
21-
android:layout_height="match_parent"/>
19+
<com.loopeer.cardstack.CardStackView
20+
android:layout_width="match_parent"
21+
android:layout_height="match_parent"/>
2222
```
2323

2424
```java
25-
mStackView = (CardStackView) findViewById(R.id.stackview_main);
26-
mTestStackAdapter = new TestStackAdapter(this);
27-
mStackView.setAdapter(mTestStackAdapter);
28-
mTestStackAdapter.updateData(Arrays.asList(TEST_DATAS));
25+
mStackView = (CardStackView) findViewById(R.id.stackview_main);
26+
mTestStackAdapter = new TestStackAdapter(this);
27+
mStackView.setAdapter(mTestStackAdapter);
28+
mTestStackAdapter.updateData(Arrays.asList(TEST_DATAS));
2929
```
3030

3131
License

0 commit comments

Comments
 (0)