Wednesday, January 30, 2019

How to remove onClickListener for a view in android?

In some situations, We should not allow onClickListener for a view. This example demonstrates how to remove onClickListener for a view in android.
Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.
Step 2 − Add the following code to res/layout/acitivity_main.xml.
For more info go through our  :  https://www.tutorialspoint.com/index.htm  

No comments:

Post a Comment