Skip to content

Commit

Permalink
android native app
Browse files Browse the repository at this point in the history
1) made the todo list adapter a little bit more robust
  • Loading branch information
nazmulidris committed Jan 13, 2017
1 parent 0a4ea57 commit e25e048
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 35 deletions.
34 changes: 0 additions & 34 deletions mobile_android_native/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ public void onBindViewHolder(ViewHolder holder, int position) {

@Override
public int getItemCount() {
return _ctx.getReduxState().data.todoArray.size();
try{
return _ctx.getReduxState().data.todoArray.size();
}catch(Exception e){
return 0;
}
}

//
Expand Down

0 comments on commit e25e048

Please sign in to comment.