[android-developers] Reference Views with Android Studio Error

2016-09-20 Thread Dustin LaRoche
I updated to the latest Android Studio on my mac. However, when I try to reference a view the IDE is inputting the view id like this: Button btnCalls = (Button) findViewById(R.id.@+id/btnCalls) Of course it is throwing an error saying their can't be a / I know that the proper coding would be

[android-developers] TextView only updates the first time from callback method

2014-04-12 Thread Dustin LaRoche
I have written a Weather class that gets weather information from an online API. The Weather class uses a callback so when weather information gets returned from the API the calling Activity will be notified of available weather data. This all works great the first time. Then after closing the