override suspend fun fetch(): FetchResult { val bitmap = data.viewData.bitmap() return DrawableResult( drawable = BitmapDrawable(data.resources, bitmap), isSampled = false, dataSource = DataSource.MEMORY, ) } class Factory : Fetcher.Factory<PdfPageCoilData> { override fun create( data: PdfPageCoilData, options: Options, imageLoader: ImageLoader ): Fetcher = PdfPageFetcher(data) } } Fetcherを作成する Implement Fetcher class PdfPageCoilData( val resources: Resources, val viewData: PageViewData ) 41