Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
soufianekremcht authored Dec 23, 2020
1 parent 6742461 commit c4a862d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Add the following code to your class

~~~kotlin
urlPreviewCard.setUrl(url,object : UrlPreviewCard.OnPreviewLoad {
override fun onLinkLoaded(url:String,urlPreview: UrlPreview) {
override fun onLinkLoaded(url:String,urlPreview: UrlPreviewItem) {
Toast.makeText(context,
"The preview Is Working", Toast.LENGTH_LONG).show()
}
Expand Down

0 comments on commit c4a862d

Please sign in to comment.