1

I am not able to call getShowSoftInputOnFocus() while am able to call setText()? Why is this happening can someone explain???

Sarasranglt
  • 3,819
  • 4
  • 23
  • 36

3 Answers3

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

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.

Community
  • 1
  • 1
2Dee
  • 8,609
  • 7
  • 42
  • 53
  • 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