Back to Blog

    Developer Blog

    How to fix object destroy item bug?

    Foxit PDF SDK 5.3

    To fix the bug when you destroy an item, follow these steps:

    1. Locate the file PDFPagerAdapter.java
    2. Locate “if (viewMap.containsKey(container))” and change it to “if (viewMap.containsKey(position))”

    Note: This article refers to a deprecated version of a Foxit Product. If you are still using Foxit PDF SDK 5.3 or older, please refer to your download package documents for Developer Guide and API Reference.

    Get a trial version of the new Foxit PDF SDK and see our latest generation SDK’s brand new features!