This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
Unable to provide our own PositionType within a section. #113
Labels
new
Describes the issue is reported recently and not reviewed by the maintainers
Please complete the following information:
For our own Section implementation, which features a header, a ListSection and a footer, we would like the ability to customize PositionType for an itemPosition in a section. Unfortunately, those methods are currently not accessible within Sections, as they are limited in access to the package (package private).
Would it be possible to make getPositionType() and getCount() public, so we can have access to these methods and get the correct position data for our custom decorator?
An example in the existing HeaderSection class, where the header is taken into account:
We would for example like the ability to override this behaviour and have our own values returned based on design/business logic, providing us with TOP, MIDDLE and LAST according to how we would divide a section.
The text was updated successfully, but these errors were encountered: