How to use Messaging center in xamarin forms
<p>I am trying to use messaging center instead of Messenger in xamarin forms I have no idea about messaging center I tried Bellow code to subscribe and Send Message in xamarin forms </p>

<pre><code>MessagingCenter.Send(this, "TodoTable", "Todo");
</code></pre>

<p>But I have not Idea from where I can subscribe to this message I tried bellow code :</p>

<pre><code>MessagingCenter.Subscribe&lt;TodoClass&gt;(this, Todo, async (sender, arg) =&gt;
{
  await RefreshCommand.ExecuteAsync();
});
</code></pre>

<p>This is giving me error Any Help will appreciated :)  </p>