Yarikx / reductor

Redux for Android. Predictable state container library for Java/Android
Apache License 2.0
463 stars 27 forks source link

Simple Example is Incomplete or Unclear - CounterReducerImpl #37

Closed ZonZonZon closed 6 years ago

ZonZonZon commented 6 years ago

In an abstract class CounterReducer it is not clear where does CounterReducerImpl appear from:

public static CounterReducer create() { return new CounterReducerImpl(); // Note: usage of generated class }

The same about builder():

Reducer<Todo> todoReducer = TodoReducer.builder() .itemsReducer(new ItemsReducer()) .searchQueryReducer(new QueryReducer()) .build();

Thank you.

ZonZonZon commented 6 years ago

Should have enabled annotations processing in Android Studio Settings and add its entries into build.gradle.