@Override public void setContext(Context context) { super.setContext(context); for (PathGenerator generator : generators) { generator.setContext(context); } }
public void addPathGenerator(PathGenerator generator) { generators.add(generator); generator.setContext(getContext()); }