ITouchEventListener recognition

ITouchEventListener recognition

BY 03 Dec 2014 Native Application Development

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. 

 

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...

}

 

Written by