Guition JC3248W535C (#467)
* Guition JC3248W535C Files app fix alert dialog and selection dialog fixes symbol export * Update Axs15231bDisplay.cpp * Update Axs15231bDisplay.cpp
This commit is contained in:
@@ -44,6 +44,7 @@ public:
|
||||
void onNewFolderPressed();
|
||||
void onDirEntryListScrollBegin();
|
||||
void onResult(LaunchId launchId, Result result, std::unique_ptr<Bundle> bundle);
|
||||
void deinit(const AppContext& appContext);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -30,6 +30,10 @@ public:
|
||||
void onResult(AppContext& appContext, LaunchId launchId, Result result, std::unique_ptr<Bundle> bundle) override {
|
||||
view->onResult(launchId, result, std::move(bundle));
|
||||
}
|
||||
|
||||
void onHide(AppContext& appContext) override {
|
||||
view->deinit(appContext);
|
||||
}
|
||||
};
|
||||
|
||||
extern const AppManifest manifest = {
|
||||
|
||||
@@ -472,4 +472,8 @@ void View::onResult(LaunchId launchId, Result result, std::unique_ptr<Bundle> bu
|
||||
}
|
||||
}
|
||||
|
||||
void View::deinit(const AppContext& appContext) {
|
||||
lv_obj_remove_event_cb(dir_entry_list, dirEntryListScrollBeginCallback);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user