how to create dynamic gridview according to response
There are many ways to make this thing possible in Xamarin Forms.
1. You can achieve this via Third party Nuget Plugin https://github.com/daniel-luberda/DLToolkit.Forms.Controls/tree/master/FlowListView/
Xamarin Forms comes with the Bindable Layout so you can also use the Bindable Layout with the Flexlayout to achieve this.https://montemagno.com/flexlayout-image/
You can also use the Custom Layout for this.https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/layouts/custom
In latest Xamarin Forms version there's also a very good support of collection view which means anything that you want to do with the Dynamic Grid view can be easily done with the collection view.https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/collectionview/layout
But if you still want to do the dynamic gridview in xamairn froms then check this link.https://alexdunn.org/2017/11/29/xamarin-nuget-dynamicwraplayout-announcement/
But I suggest you to go ahead with the Option 2 or 4.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies