..
This commit is contained in:
@@ -130,7 +130,7 @@
|
|||||||
android:name=".player.DocumentViewerActivity"
|
android:name=".player.DocumentViewerActivity"
|
||||||
android:theme="@style/Theme.Player"
|
android:theme="@style/Theme.Player"
|
||||||
android:launchMode="singleInstance"
|
android:launchMode="singleInstance"
|
||||||
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|density|fontScale"
|
android:configChanges="orientation|screenSize|screenLayout|smallestScreenSize|density|fontScale|keyboardHidden|keyboard|layoutDirection|navigation"
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
android:excludeFromRecents="false"
|
android:excludeFromRecents="false"
|
||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
|
|||||||
@@ -33,6 +33,8 @@ class DocumentViewerActivity : AppCompatActivity(), PagedTextViewInterface {
|
|||||||
private var currentPageIndex = 0
|
private var currentPageIndex = 0
|
||||||
private var indexingJob: kotlinx.coroutines.Job? = null
|
private var indexingJob: kotlinx.coroutines.Job? = null
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 2. 기존 initializeReader() 함수를 크기 변경 시에도 재사용 가능하도록 리팩토링
|
// 2. 기존 initializeReader() 함수를 크기 변경 시에도 재사용 가능하도록 리팩토링
|
||||||
private fun initializeReader(targetOffset: Long = -1L) {
|
private fun initializeReader(targetOffset: Long = -1L) {
|
||||||
// 기존 작동 중인 인덱싱이 있다면 취소
|
// 기존 작동 중인 인덱싱이 있다면 취소
|
||||||
|
|||||||
Reference in New Issue
Block a user