johncarl81 / transfuse

:syringe: Transfuse - A Dependency Injection and Integration framework for Google Android
http://androidtransfuse.org/
Apache License 2.0
220 stars 28 forks source link

Fragment factories should extend common base class #190

Closed dbachelder closed 8 years ago

dbachelder commented 9 years ago

With a base class we could pass around factories and defer creation until needed

Something like this:

abstract class FragFactory<T extends Fragment> {
  public abstract T build();
}