Beispiel #1
0
 /// <summary>
 /// Creates and initializes a new instance of the Transit class.
 /// </summary>
 /// <since_tizen> preview </since_tizen>
 public Transit()
 {
     _handle         = Interop.Elementary.elm_transit_add();
     DeletedCallback = (ptr1, ptr2) =>
     {
         Deleted?.Invoke(this, EventArgs.Empty);
         Dispose(true);
     };
     Interop.Elementary.elm_transit_del_cb_set(_handle, DeletedCallback, IntPtr.Zero);
     ((INotifyCollectionChanged)_objects).CollectionChanged += OnObjectCollectionChanged;
     ((INotifyCollectionChanged)_chains).CollectionChanged  += OnChaninCollectionChanged;
 }
Beispiel #2
0
 internal static extern void elm_transit_del_cb_set(IntPtr transit, Elm_Transit_Del_Cb cb, IntPtr data);