ContentViewWithLifecycle Class

Com.MarcusTS.LifecycleAware

ContentViewWithLifecycle Class

Use this as the basis of all views if possible. If not possible in a few cases, copy this code into your other classes as-is and it will work the same way. Implements the [Xamarin.Forms.ContentView] Implements the IContentViewWithLifecycle Implements the IContentViewWithLifecycle Implements the [ContentView]

Namespace:  Com.MarcusTS.LifecycleAware.Views.SubViews
Assembly:  Com.MarcusTS.LifecycleAware (in Com.MarcusTS.LifecycleAware.dll)

Syntax


public class ContentViewWithLifecycle : IContentViewWithLifecycle
Public Class ContentViewWithLifecycle _
	Implements IContentViewWithLifecycle
public ref class ContentViewWithLifecycle : IContentViewWithLifecycle

Remarks


REMEMBER to supply the originating page (PageLifecycleReporterProperty), as that is how all of this works. The event ties are weak and therefore non-binding.

Inheritance Hierarchy


Object
  Com.MarcusTS.LifecycleAware.Views.SubViews..::..ContentViewWithLifecycle