Skip to content

Commit

Permalink
Fixed bug sample app
Browse files Browse the repository at this point in the history
  • Loading branch information
pchmn committed Apr 26, 2017
1 parent f209a84 commit 35190f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file added docs/material-chips-input-sample-v1.0.4_2.apk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

import com.pchmn.materialchips.ChipView;
import com.pchmn.materialchips.ChipsInput;
Expand Down Expand Up @@ -45,6 +46,10 @@ protected void onCreate(Bundle savedInstanceState) {
.subscribe(granted -> {
if(granted && mContactList.size() == 0)
getContactList();

}, err -> {
Log.e(TAG, err.getMessage());
Toast.makeText(ContactListActivity.this, "Error get contacts, see logs", Toast.LENGTH_LONG).show();
});

// chips listener
Expand Down

0 comments on commit 35190f6

Please sign in to comment.