Use the return value from the adapter in setVisibility