I have a FragmentActivity class with inner class that should display Dialog. But I am required to make it static. Eclipse offers me to
If u develop it in android studio then no problem if you not give it as static.The project will run without any errors and at the time of generation of apk you will get Error :This fragment inner class should be static [ValidFragment]
Thats lint error, you are probably building with gradle, to disable aborting on errors, add:
lintOptions {
abortOnError false
}
to build.gradle.`