Hi Guys,
I have two activities one with normal buttons and another with iconbuttons.
On click of both one common activity opens and loads scrollview.
On clicking normal buttons the scrollview loads properly,
while clicking iconbutton it gives error.
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
One thing if i put a breakpoint where scrollview is filled it gets loaded from iconbutton also.
I guess the problem is in iconbuttons.
Can anyone guide please?
Note-:I have added iconbuttons from designer, I am initialising iconbuttons to get click event. It is showing warning you should not initialize as you have added them from designer.