I have tried to match setOnClickListener and setOnLongClickListener with my adapter class to main fragment through listener. As, I'll perform an action for a long click then onClick event is called default. Because, i have set the return value to "false" to perform listener event in my main Fragment. If I'll set return as "true" in longClick event then listener is not performed.
I have tried to match setOnClickListener and setOnLongClickListener with my adapter class to main fragment through listener. As, I'll perform an action for a long click then onClick event is called default. Because, i have set the return value to "false" to perform listener event in my main Fragment. If I'll set return as "true" in longClick event then listener is not performed.
How can i solve this problem?