Reputation: 4007
I'm having trouble, there is no warning when I use methods above API Level 8
setCalendarViewShown(false);
Is just an example
Even if I build my app there's no error, I'll only encounter the error when the app reaches the unsupported method.
Upvotes: 7
Views: 1984
Reputation: 4007
I just solve my problem
I just check the File > Settings > Inspections > Android Lint > "Calling new methods on older versions" because it's unchecked before
Upvotes: 7