diff --git a/examples/ReactExample/components/items-screen.js b/examples/ReactExample/components/items-screen.js
index 02d2f095..5d7abfc9 100644
--- a/examples/ReactExample/components/items-screen.js
+++ b/examples/ReactExample/components/items-screen.js
@@ -54,51 +54,10 @@ export default class ItemsScreen extends React.Component {
}
render() {
- // let objects = realm.objects('Todo');
- // let extraItems = [
- // { name: 'Complete', items: objects.filtered('done = true') },
- // { name: 'Incomplete', items: objects.filtered('done = false') },
- // ];
-
+
let properties = {
- // ref: 'listView',
- // extraItems: extraItems,
- // onPressItem: this._onPressTodoList,
}
return ;
}
-
- // renderScene(route) {
- // console.log(this.todoLists);
- // return
- // }
-
-
-
- // _onPressTodoItem(list) {
- // const { navigate } = this.props.navigation;
- // let items = list.items;
-
- // let route = {
- // title: list.name,
- // component: TodoListView,
- // passProps: {
- // ref: 'listItemView',
- // items: items,
- // rowClass: TodoItem,
- // },
- // };
-
- // // Check if the items are mutable (i.e. List rather than Results).
- // if (items.push) {
- // Object.assign(route, {
- // rightButtonTitle: 'Add',
- // onRightButtonPress: () => this._addNewTodoItem(list),
- // });
- // }
-
- // // this.refs.nav.push(route);
- // navigate('TodoListItem', { items: items })
- // }
}
\ No newline at end of file
diff --git a/examples/ReactExample/components/todo-itemsview.js b/examples/ReactExample/components/todo-itemsview.js
index 404c1e0c..686e6107 100644
--- a/examples/ReactExample/components/todo-itemsview.js
+++ b/examples/ReactExample/components/todo-itemsview.js
@@ -86,13 +86,6 @@ export default class TodoItemsView extends React.Component {
let RowClass;
let editing = false;
- // if (sectionIndex == 0) {
- // RowClass = this.props.rowClass || TodoListItem;
- // editing = this.state.editingRow == rowIndex;
- // } else if (sectionIndex == 1) {
- // RowClass = TodoListExtraItem;
- // }
-
return (