Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 403 Bytes
#pragma once
#include <bdn/ui/View.h>
#include <string>
namespace bdn::ui
class ListViewDataSource
virtual ~ListViewDataSource() = default;
virtual size_t numberOfRows() = 0;
virtual std::shared_ptr<View> viewForRowIndex(size_t rowIndex, std::shared_ptr<View> reusableView) = 0;
virtual float heightForRowIndex(size_t rowIndex) = 0;
You can’t perform that action at this time.