Skip to content
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.

Commit

Permalink
Update README.md for 0.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Fung Gwo <[email protected]>
  • Loading branch information
fython committed Mar 3, 2018
1 parent 06a0120 commit ca8dd78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ For example:

### Add/Remove `BreadcrumbItem`

When your interface navigates to next step, create a new `BreadcrumbItem` and add it to `BreadcrumbsView`.
When your interface navigates to next step, create a new `BreadcrumbItem` and add it to `BreadcrumbsView`. (After 0.2.0, you can implement your own `IBreadcrumbItem` to use.)

Use `removeItemAfter(int)` or `removeLastItem` to remove items or last item.

Expand All @@ -64,7 +64,7 @@ You can set a callback for `BreadcrumbsView` to receive item click/changed event
To simplify events, I recommend to use `DefaultBreadcrumbsCallback` :

```java
new DefaultBreadcrumbsCallback() {
new DefaultBreadcrumbsCallback<BreadcrumbItem>() {
@Override
public void onNavigateBack(BreadcrumbItem item, int position) {
// ...
Expand All @@ -82,7 +82,7 @@ new DefaultBreadcrumbsCallback() {
```
MIT License
Copyright (c) 2017 Fung Go (fython)
Copyright (c) 2017-2018 Fung Go (fython)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit ca8dd78

Please sign in to comment.