CustomView not rendered if I put inside a grid with RowDefinitions in Xamarin.Forms -


i have loaded views inside grid below,

 <grid>         <grid.columndefinitions>             <columndefinition width="*" />         </grid.columndefinitions>         <grid.rowdefinitions>             <rowdefinition height="auto" />             <rowdefinition height="*" />             <rowdefinition height="auto" />         </grid.rowdefinitions>         <entry x:name="searchtextbox"                grid.row="0"                horizontaloptions="fill"                placeholder="search"                verticaloptions="fill" />         <listview x:name="listview"                   grid.row="1"                   horizontaloptions="fill"                   verticaloptions="fill" />         <local:customlistview x:name="customview"                            grid.row="0"                            itemssource="{binding items}">         </local:customlistview >     </grid> 

out of 3 views in above code snippet, first 2 views rendered properly. 3rd view(custom view) not rendered. customviews not rendered if set rowdefinition "auto". so, please tell why custom view not loaded if set "auto".

your customlistview doesn't request minimum size correctly, , middle row has height of *, takes of available space minus minimum size requests.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -