private void instantiateWidget(GameObject widgetPrefab, CellPhoneRecurringLocationActivityDefinition definition)
        {
            GameObject gameObject = UnityEngine.Object.Instantiate(widgetPrefab, base.transform, worldPositionStays: false);

            currentLoadedWidget = gameObject.GetComponent <CellPhoneActivitiyScreenStartingSoonWidget>();
            currentLoadedWidget.SetWidgetData(definition);
            currentLoadedWidget.CountdownCompleteAction += onWidgetCountdownComplete;
        }
 private void removeCurrentWidget()
 {
     if (currentLoadedWidget != null)
     {
         UnityEngine.Object.Destroy(currentLoadedWidget.gameObject);
         currentLoadedWidget.CountdownCompleteAction -= onWidgetCountdownComplete;
         currentLoadedWidget = null;
     }
 }