An error occurred while saving the commentShivam Paliwal commented
You could draw inspiration for EPUB reader from kindle app. That's the best epub type reader so far, though it is only for azw3. It would be best if the interface changes according to the file type because I don't want to lose this pdf reader for an epub reader.
If this is not possible, make a separate app epub as XODO-Epub.