ContainerPanel class’s size is (720 * 5, 1280), and include some PagePanel(720, 1280) with sliding animation.
next, I define custom button class. (class name is AppIconButton implements ITouchEventListener and ITouchLongPressGestureEventListener)
When I add AppIconButton in PagePanel, it cannot recognize ITouchEventListener and ITouchLongPressGestureEventListener.
Of course, ContainerPanel’s IPropagatedTouchEventListener is recognized, but I want to recognize AppIconButton’s EventListener.
I don’t know how to solve this problem. 🙁
What’s problem?
** When I test AppIconButton on ‘Form’, it works very well.
class ContainerPanel: public Tizen::Ui::Container,
public Tizen::Ui::IPropagatedTouchEventListener {
//to do...
};
class PagePanel: public Tizen::Ui::Container{
//to do...
}
class AppIconButton: public Tizen::Ui::Container,
public Tizen::Ui::ITouchEventListener,
public Tizen::Ui::ITouchLongPressGestureEventListener{
//to do...
}
ITouchEventListener recognition
Hi, Tizen Developers.
I have some problems, so ask your advice.
I have been developing home application.
** Image Link.
First, I define ContainerPanel class.
ContainerPanel class’s size is (720 * 5, 1280), and include some PagePanel(720, 1280) with sliding animation.
next, I define custom button class. (class name is AppIconButton implements ITouchEventListener and ITouchLongPressGestureEventListener)
When I add AppIconButton in PagePanel, it cannot recognize ITouchEventListener and ITouchLongPressGestureEventListener.
Of course, ContainerPanel’s IPropagatedTouchEventListener is recognized, but I want to recognize AppIconButton’s EventListener.
I don’t know how to solve this problem. 🙁
What’s problem?
** When I test AppIconButton on ‘Form’, it works very well.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio