Skip to content

Commit

Permalink
Release v3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amirisback committed Feb 5, 2021
1 parent 776d6b6 commit 86fca7b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/tutorial/FrogoRecyclerView.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ Just following the step until finish

private fun setupFrogoRecyclerView() {

val adapterCallback = object :
FrogoViewAdapterCallback<ExampleModel> {
val adapterCallback = object : IFrogoViewAdapter<ExampleModel> {
override fun setupInitComponent(view: View, data: ExampleModel) {
// Init component content item recyclerview
view.findViewById<TextView>(R.id.tv_example_item).text = data.name
Expand Down Expand Up @@ -56,7 +55,7 @@ Just following the step until finish

private void setupFrogoRecyclerView() {

FrogoViewAdapterCallback frogoViewAdapterCallback = new FrogoViewAdapterCallback<ExampleModel>() {
IFrogoViewAdapter frogoViewAdapterCallback = new IFrogoViewAdapter<ExampleModel>() {
@Override
public void setupInitComponent(@NotNull View view, ExampleModel data) {
// Init component content item recyclerview
Expand Down Expand Up @@ -242,8 +241,8 @@ Just following the step until finish
.createLayoutStaggeredGrid(2)
.build();
}


# Sample Code
## No Adapter
- Kotlin - [KotlinNoAdapterActivity.kt](https://github.com/amirisback/frogo-recycler-view/blob/master/app/src/main/java/com/frogobox/recycler/kotlinsample/KotlinNoAdapterActivity.kt)
Expand Down

0 comments on commit 86fca7b

Please sign in to comment.