I'm building an app by using fragment with layout shown below. When i adding java class to tab 1 and tab 2, my app work as normal which allow me to slide between tab 1 and 2. When i try to add my third class into tab 3, there is an error appear which state that it cannot extend 2 class at once. Can anybody help me to solve this problem?
The first picture is code use for tab 1
The second picture is code use for tab 2
The third picture is code use for tab 3
The last picture is layout of my app
The first picture is code use for tab 1
The second picture is code use for tab 2
The third picture is code use for tab 3
The last picture is layout of my app