Thanks Tor for all the comments and especially for fixes :). As for AppCompatMethod (not AppCompatResource) check I get the warning for the line getActionBar().setCustomView(customView, new LayoutParams(MATCH_PARENT, MATCH_PARENT));
I use version 0.10.1 of gradle plugin, appcompat library is not used in the project. On 6 May 2014 20:34, 'Tor Norbye' via adt-dev <[email protected]>wrote: > Suppressing with an annotation was broken for that lint check. Should be > fixed by > https://android-review.googlesource.com/#/c/93553 > > As a workaround you can suppress by comment instead: > //noinspection AndroidLintInflateParams > convertView = mInflater.inflate(R.layout.your_layout, null); > > -- Tor > > On Tue, May 6, 2014 at 3:23 AM, Roman Mazur <[email protected]> wrote: > >> Also I cannot figure out how 'InflateParams' warning can be suppressed. >> Annotating method with @SuppressLint("InflateParams") does not seem to >> help. >> >> >> On 6 May 2014 13:09, Roman Mazur <[email protected]> wrote: >> >>> Another complain :) >>> Is "AppCompatMethod" check run regardless I do not use AppCompat library? >>> I checked dependencies report on my project and did not find a >>> dependency on appcompat library. I get AppCompatMethod warnings though. >>> >>> >>> On 6 May 2014 11:48, Roman Mazur <[email protected]> wrote: >>> >>>> Currently 'ValidFragment' check produces an error if default fragment >>>> constructor in implicit. >>>> To be honest, I'm not satisfied with such a behaviour because it makes >>>> me add an empty constructor explicitly to a bunch of classes... >>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "adt-dev" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/adt-dev/aKRNyi8OSBM/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Best regards, >>> Roman Mazur >>> >>> Software engineer at Stanfy (http://stanfy.com.ua) >>> Skype: roman.mazur.f >>> LinkedIn: http://ua.linkedin.com/in/romanmazur >>> Twitter: http://twitter.com/roman_mazur >>> >> >> >> >> -- >> Best regards, >> Roman Mazur >> >> Software engineer at Stanfy (http://stanfy.com.ua) >> Skype: roman.mazur.f >> LinkedIn: http://ua.linkedin.com/in/romanmazur >> Twitter: http://twitter.com/roman_mazur >> >> -- >> You received this message because you are subscribed to the Google Groups >> "adt-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "adt-dev" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/adt-dev/aKRNyi8OSBM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Best regards, Roman Mazur Software engineer at Stanfy (http://stanfy.com.ua) Skype: roman.mazur.f LinkedIn: http://ua.linkedin.com/in/romanmazur Twitter: http://twitter.com/roman_mazur -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
