This commit is contained in:
2026-07-09 17:29:23 +09:00
parent 278c1b4510
commit 24a2a74768
2 changed files with 3 additions and 1 deletions
@@ -33,6 +33,8 @@ class DocumentViewerActivity : AppCompatActivity(), PagedTextViewInterface {
private var currentPageIndex = 0
private var indexingJob: kotlinx.coroutines.Job? = null
// 2. 기존 initializeReader() 함수를 크기 변경 시에도 재사용 가능하도록 리팩토링
private fun initializeReader(targetOffset: Long = -1L) {
// 기존 작동 중인 인덱싱이 있다면 취소