mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 09:06:54 +02:00
Add new shared pointer and make use of it
This commit is contained in:
@@ -12,7 +12,7 @@ class FileRecyclerAdapter : public RecyclerAdapter
|
||||
{
|
||||
public:
|
||||
u32 GetItemCount() const override;
|
||||
void BindView(View* view, int index) const override;
|
||||
void BindView(SharedPtr<View> view, int index) const override;
|
||||
|
||||
void SetIconFrameCounter(u32 iconFrameCounter)
|
||||
{
|
||||
@@ -32,6 +32,6 @@ protected:
|
||||
: _fileInfoManager(fileInfoManager), _taskQueue(taskQueue)
|
||||
, _iconFrameCounter(0), _themeFileIconFactory(themeFileIconFactory) { }
|
||||
|
||||
virtual TaskResult<void> BindView(View* view, int index,
|
||||
virtual TaskResult<void> BindView(SharedPtr<View> view, int index,
|
||||
const InternalFileInfo* internalFileInfo, const vu8& cancelRequested) const = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user