Skip to content

Extract ViewPumpContextWrapper from the library

Latest
Compare
Choose a tag to compare
@pr0t3us pr0t3us released this 29 Mar 10:13
fc63e05

Instead of internal ViewPumpContextWrapper usage - extract it to be used in lambda argument as follows:

    private val delegateHolder = PhilologyAppCompatDelegateHolder()
    override fun getDelegate() = delegateHolder.getDelegate(super.getDelegate()) {
        ViewPumpContextWrapper.wrap(Philology.wrap(it))
    }