Code for Showing Native Android share Dialog when a button is clicked.

Hey ,
I have searched the whole web and tried some codes also but nothing worked


This pic is the example of what I am talking about if anyone know how to do kindly please help me.