Class · aurore
aurore::RecyclerDataSource
On this page
#include <aurore/views/recycler.hpp>
class aurore::RecyclerDataSourceDerived by
Description
What a RecyclerFrame shows: the app subclasses it and gives it with RecyclerFrame::setDataSource().
Constructors 1
Functions 8
virtual int numberOfSections(RecyclerFrame *recycler) Asks the data source to return the number of sections in the recycler frame.
recycler.hpp:141virtual int numberOfRows(RecyclerFrame *recycler, int section) Tells the data source to return the number of rows in a recycler frame.
recycler.hpp:146virtual RecyclerCell * cellForRow( RecyclerFrame *recycler,IndexPath index)Asks the data source for a cell to insert in a particular location of the recycler frame.
recycler.hpp:151virtual RecyclerCell * cellForHeader( RecyclerFrame *recycler,int section)Asks the data source for a cell to display in the header of the specified section of the recycler frame.
recycler.hpp:156virtual float heightForRow(RecyclerFrame *recycler, IndexPath index) Asks the data source for the height to use for a row in a specified location. Return -1 to use autoscaling.
recycler.hpp:162virtual float heightForHeader(RecyclerFrame *recycler, int section) Asks the data source for the height to use for the header of a particular section. Return -1 to use autoscaling.
recycler.hpp:168virtual std::string titleForHeader( RecyclerFrame *recycler,int section)Asks the data source for the title of the header of the specified section of the recycler frame.
recycler.hpp:173virtual void didSelectRowAt(RecyclerFrame *recycler, IndexPath index) Tells the data source a row is selected.
recycler.hpp:178Read from Aurore's headers by Doxygen at each build · library/include