Class BitmapContainerTransitionFactory<R>

    • Constructor Detail

      • BitmapContainerTransitionFactory

        public BitmapContainerTransitionFactory​(TransitionFactory<android.graphics.drawable.Drawable> realFactory)
    • Method Detail

      • getBitmap

        protected abstract android.graphics.Bitmap getBitmap​(R current)
        Retrieve the Bitmap from a composite object.

        Warning: Do not convert any arbitrary object to Bitmap via expensive drawing here, this method is called on the UI thread.

        Parameters:
        current - composite object containing a Bitmap and some other information
        Returns:
        the Bitmap contained within current