1 #ifndef HOME_CONTROLLER_H 2 #define HOME_CONTROLLER_H 31 class ContentView :
public View {
38 int numberOfSubviews()
const override;
39 View * subviewAtIndex(
int index)
override;
40 void layoutSubviews()
override;
47 static constexpr
int k_numberOfColumns = 4;
48 static constexpr
int k_numberOfApps = 10;
49 static constexpr
int k_maxNumberOfCells = 16;
50 static constexpr
int k_cellHeight = 98;
51 static constexpr
int k_cellWidth = 104;
53 AppCell m_cells[k_maxNumberOfCells];
virtual HighlightCell * reusableCell(int index) override
virtual int numberOfColumns() override
Responder * parentResponder() const
void didBecomeFirstResponder() override
virtual int numberOfRows() override
void viewWillAppear() override
bool handleEvent(Ion::Events::Event event) override
virtual KDCoordinate cellHeight() override
void willDisplayCellAtLocation(HighlightCell *cell, int i, int j) override
virtual int reusableCellCount() override
Controller(Responder *parentResponder, ::AppsContainer *container, SelectableTableViewDataSource *selectionDataSource)
virtual KDCoordinate cellWidth() override
void tableViewDidChangeSelection(SelectableTableView *t, int previousSelectedCellX, int previousSelectedCellY) override