Skip to content

Commit 86753d3

Browse files
authored
Update README.md
1 parent 456e49c commit 86753d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class YourAdapter extends PlutoAdapter<YourModel, YourViewHolder> {
8282
```
8383
#### Then in your xml
8484
```XML
85-
<com.opensooq.pluto.Pluto
85+
<com.opensooq.pluto.PlutoView
8686
android:id="@+id/slider_view"
8787
android:layout_width="match_parent"
8888
android:layout_height="wrap_content"
@@ -93,7 +93,7 @@ public class YourAdapter extends PlutoAdapter<YourModel, YourViewHolder> {
9393
```
9494
### finaly attach the adapter to Pluto
9595
```java
96-
Pluto pluto = findViewById(R.id.slider_view);
96+
PlutoView pluto = findViewById(R.id.slider_view);
9797
YourAdapter adapter = new YourAdapter(yourModelsList);
9898
pluto.create(adapter);
9999
```

0 commit comments

Comments
 (0)