jeudi 5 janvier 2017

Why BaseFragmentActivityHoneycomb is abstract?

Why android.support.v4.app.BaseFragmentActivityHoneycomb has been declared abstract when it doesn't really have any abstract methods? I understand they don't want anyone to instantiate BaseFragmentActivityHoneycomb.

But wondering why don't they just write the content of onCreate method of BaseFragmentActivityHoneycomb inside FragmentActivity?

Is this just historical or by chance or it has nice design intentions?

Aucun commentaire:

Enregistrer un commentaire