You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
you can use
if (Build.VERSION.SDK_INT < 16)
{
fabContainer.getViewTreeObserver().removeGlobalOnLayoutListener(this);
fab.setVisibility(VISIBLE);
} else {
fabContainer.getViewTreeObserver().removeOnGlobalLayoutListener(this);
fab.setVisibility(VISIBLE);
}
to make it compatible for <16 sdk versions.
The text was updated successfully, but these errors were encountered:
I know, I know. I just sometimes tend to use 16 by default, as I no longer target any earlier versions in my projects. Anyway, my implementation uses new animation API introduced in SDK 11, so I lowered min SDK to next higher value that seemed reasonable - 15 (targeting early releases of the Ice Cream Sandwich and Honeycomb is futile, as nobody uses them anymore).
Hi,
you can use
if (Build.VERSION.SDK_INT < 16)
{
fabContainer.getViewTreeObserver().removeGlobalOnLayoutListener(this);
fab.setVisibility(VISIBLE);
} else {
fabContainer.getViewTreeObserver().removeOnGlobalLayoutListener(this);
fab.setVisibility(VISIBLE);
}
to make it compatible for <16 sdk versions.
The text was updated successfully, but these errors were encountered: