I am not able to call getShowSoftInputOnFocus() while am able to call setText()? Why is this happening can someone explain???
Asked
Active
Viewed 171 times
1
-
1can you please update your code without code we are not able to help you. – bhavesh kaila Sep 10 '14 at 11:37
-
its a simple object call. U can try it as well. – Sarasranglt Sep 10 '14 at 11:38
-
1`getShowSoftInputOnFocus()` might be your method from your project not from `TextView` class – Sagar Pilkhwal Sep 10 '14 at 11:41
-
if we see Your code, maybe we can help You... – Opiatefuchs Sep 10 '14 at 11:43
-
1For those still doubting the method is there, see this (line 2430): http://osxr.org/android/source/frameworks/base/core/java/android/widget/TextView.java – 2Dee Sep 10 '14 at 11:46
-
The method exists, but cannot be called as it is hidden with @hide annotation. – Alok Nair Sep 10 '14 at 11:54
3 Answers
0
The method getShowSoftInputOnFocus() doesn't exist for the TextView class and is not in Android documentation. How did you find this method ?

Drakkin
- 878
- 12
- 27
-
This should be a comment. And yes, the method exists, it's just hidden from the documentation... – 2Dee Sep 10 '14 at 11:44
0
getShowSoftInputOnFocus() methods is not present in textview class , you can refer below link for all methods in textview class.
http://developer.android.com/reference/android/widget/TextView.html

Aniruddh Rathore
- 482
- 4
- 6
0
The method is marked with the @hide annotation.
@hide
When applied to a package, class, method or field, @hide removes that node and all of its children from the documentation.
You can still access it via reflection as demonstrated here.
-
May I ask you to accept the answer (http://stackoverflow.com/help/someone-answers) if you find the answer satisfactory, thus closing the question ? Thanks in advance ;) – 2Dee Sep 10 '14 at 12:20