Update examples to fix empty display bug in native view

Update examples to fix empty display bug in native view