Searched refs:previewAdapter (Results 1 – 2 of 2) sorted by relevance
131 void setPreviewAdapter(PreviewPagerAdapter previewAdapter) { in setPreviewAdapter() argument132 if (previewAdapter != mPreviewAdapter) { in setPreviewAdapter()133 mPreviewAdapter = previewAdapter; in setPreviewAdapter()157 PreviewPagerAdapter previewAdapter) { in updateAdapterIfNeeded() argument158 if (viewPager.getAdapter() == previewAdapter) { in updateAdapterIfNeeded()162 viewPager.setAdapter(previewAdapter); in updateAdapterIfNeeded()164 if (previewAdapter != null) { in updateAdapterIfNeeded()
117 private val previewAdapter in <lambda>() constant156 batchLoader?.totalItemCount?.let(previewAdapter::reset) in <lambda>()166 previewAdapter.transitionStatusElementCallback = callback in <lambda>()187 previewAdapter.imageLoader = imageLoader in <lambda>()191 previewAdapter.reset(totalItemCount) in <lambda>()195 previewAdapter.reset(totalItemCount) in <lambda>()199 previewAdapter.imageLoader ?: error("Image loader is not set"), in <lambda>()202 onUpdate = previewAdapter::addPreviews, in <lambda>()205 if (!previewAdapter.hasPreviews) { in <lambda>()208 previewAdapter.markLoaded() in <lambda>()