Android Widget - button refresh
Im trying to make an android widget which the user can refresh the content on by clicking a button. Im stuck.
Currently neither the scheduled refresh or the button seems to work.
Is there anyone out there which either can see what Im doing wrong, or has some code examples which does something similar to what I attempt to do?
class Widget : AppWidgetProvider() {
override fun onUpdate(
context: Context,
appWidgetManager: AppWidgetManager,
appWidgetIds: IntArray
)...