Функция ресурса Symfony добавляется к http-адресу

Если вы равны , используя AppWidgetProvider, вы можете обновить его следующим образом:

Intent intent = new Intent(this, MyAppWidgetProvider.class);
intent.setAction(AppWidgetManager.ACTION_APPWIDGET_UPDATE);
// Use an array and EXTRA_APPWIDGET_IDS instead of AppWidgetManager.EXTRA_APPWIDGET_ID,
// since it seems the onUpdate() is only fired on that:
 int[] ids = AppWidgetManager.getInstance(getApplication())
    .getAppWidgetI‌​ds(new ComponentName(getApplication(), MyAppWidgetProvider.class));
intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_IDS, ids);
sendBroadcast(intent);
0
задан wawa 4 March 2019 в 08:59
поделиться

1 ответ

Вы можете использовать base_urls. Протокол / хост / порт не должен использоваться в base_path для ресурсов.

https://symfony.com/doc/current/reference/configuration/framework.html#assets

0
ответ дан Sondre Edvardsen 4 March 2019 в 08:59
поделиться
Другие вопросы по тегам:

Похожие вопросы: