While it will probably work fine already, I would have to inflate the view twice, potentionally wasting memory and resources during app initialization (something I'd like to avoid).
If I, somehow, could tell SectionedRecyclerViewAdapter to not call inflate, then everything should work perfectly. E.g. by setting resource ID to -1, or by calling some function assigning a boolean value.
Hello,
I want to use your library in conjunction with Android Annotations. More specifically, this part: https://github.com/excilys/androidannotations/wiki/Adapters-and-lists
While it will probably work fine already, I would have to inflate the view twice, potentionally wasting memory and resources during app initialization (something I'd like to avoid).
The view would first be inflated in: https://github.com/luizgrp/SectionedRecyclerViewAdapter/blob/2d852886a244c29fa1da8ed2a1753731fc8b0055/library/src/main/java/io/github/luizgrp/sectionedrecyclerviewadapter/SectionedRecyclerViewAdapter.java#L72
and then here:
If I, somehow, could tell
SectionedRecyclerViewAdapter
to not call inflate, then everything should work perfectly. E.g. by setting resource ID to -1, or by calling some function assigning a boolean value.