On Android, can I use OnLongClickListener with EditTexts and TextViews, or just buttons?
OnLongClick processing inherits from android.view.View. Therefore, it should also function with EditText and TextView.
It can be used in the base class View, as well as in each derived class. In other words. Yes you can. Reflink on the OnLongClickListener interface.
View
Source: https://habr.com/ru/post/1776230/More articles:MVC: client validation fails, but data is still being sent - asp.net-mvc-2How to get the current full url (url + fragments) of a web page in php., - phphow can i reset all css of all elements in a div without an external css file? - javascriptHow to safely create queries in ADO.NET where tables are selected from the changes? - c #Unit testing with mockito (partial mockery) - javaUsing Oracle SQL CE Database in .NET CF - c #ternary operator - performanceHow can I get visual C ++ 2010 to recognize the "_extension" declaration - c ++image size on Objective-c, - iphoneuse of external libraries in Qt / Symbian - qtAll Articles