Android Dev: Linting

In order to suppress linting warnings that do not make sense, one can use the @SuppressLint decorator.  In order to know which warning string to use, here is a quick time.  Thank you StackOverflow Tonys-MacBook-Air:tools tonytam$ pwd /Users/tonytam/Library/Android/sdk/tools Tonys-MacBook-Air:tools tonytam$ !. ./bin/lint –list | grep -i used “UnusedAttribute”: Attribute unused on older versions “UnsafeDynamicallyLoadedCode”: load […]

Read More…

Android Dev: EventBus : Publisher + Subscriber

While trying to implement a feature for AntennaPod to allow users to auto skip intros and endings in this pull request #3975, I need to be able publish the event when a preference has changed and for a previous object with state that has already read the value of the preference to refresh it’s content. […]

Read More…