Click here to Skip to main content
15,894,343 members

Comments by David Crow (Top 200 by date)

David Crow 2 days ago View    
At what point do you initialize mList? There is an assignment in settask(), but is that method ever called?
David Crow 13-Feb-24 9:23am View    
I suggest you make list the main activity, and when the FAB is clicked, call startActivityForResult() with the "data entry" activity. When that activity returns, add the user-entered data to the adapter and refresh it.
David Crow 30-Oct-23 10:54am View    
If your app is not in the foreground, scraping data from a web site is pointless. Do that when your app opens. If the data on that web site changes frequently enough, and your app could remain in the foreground long enough (studies show that most don't), you could set a refresh timer.
David Crow 26-Jul-23 8:19am View    
Is this a dynamic menu created at runtime or a static one defined in an XML file? If the latter, have you tried adding:
android:icon="@android:drawable/btn_star"
David Crow 10-Jul-23 11:00am View    
Have you tried NOT loading ads to see if the problem goes away?