How can I handle drag event in custom container?
Hi everyone,
I am trying design a custom container that needs to "handleDragEvent" function. But this function cannot be overridden in a container, as far as I see. This function can be usable when you work in a screen. But when you work in a custom container it's not working.
I tried create a function for drag event in custom container and call this function in a screen's "handleDragEvent" function. Like that;
void testScreenView::handleDragEvent(const touchgfx::DragEvent& evt)
{
if(customContainer.isVisible()) {
customContainer.customDragEvent(evt);
}
}When I do that custom container drag event works very well. But this time screen's scrollable containers not working properly.
What should I do? Anybody have any idea? Thanks in advance.
