pull/32/head
parent
8b4dee9232
commit
b580de08b3
@ -1,16 +1,14 @@ |
|||||||
package io.legado.app.ui.main.bookshelf |
package io.legado.app.ui.main.bookshelf |
||||||
|
|
||||||
|
import android.os.Bundle |
||||||
|
import android.view.View |
||||||
import androidx.fragment.app.Fragment |
import androidx.fragment.app.Fragment |
||||||
|
|
||||||
class BookshelfFragment : Fragment() { |
class BookshelfFragment(contentLayoutId: Int) : Fragment(contentLayoutId) { |
||||||
|
|
||||||
// override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { |
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||||
// return inflater.inflate(R.layout.fragment_bookshelf, container) |
super.onViewCreated(view, savedInstanceState) |
||||||
// } |
} |
||||||
// |
|
||||||
// override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
|
||||||
// super.onViewCreated(view, savedInstanceState) |
|
||||||
// } |
|
||||||
|
|
||||||
|
|
||||||
} |
} |
@ -1,15 +1,13 @@ |
|||||||
package io.legado.app.ui.main.booksource |
package io.legado.app.ui.main.booksource |
||||||
|
|
||||||
|
import android.os.Bundle |
||||||
|
import android.view.View |
||||||
import androidx.fragment.app.Fragment |
import androidx.fragment.app.Fragment |
||||||
|
|
||||||
class BookSourceFragment : Fragment() { |
class BookSourceFragment(contentLayoutId: Int) : Fragment(contentLayoutId) { |
||||||
|
|
||||||
// override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { |
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||||
// return inflater.inflate(R.layout.fragment_book_source, container) |
super.onViewCreated(view, savedInstanceState) |
||||||
// } |
} |
||||||
// |
|
||||||
// override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
|
||||||
// super.onViewCreated(view, savedInstanceState) |
|
||||||
// } |
|
||||||
|
|
||||||
} |
} |
@ -1,15 +1,13 @@ |
|||||||
package io.legado.app.ui.main.findbook |
package io.legado.app.ui.main.findbook |
||||||
|
|
||||||
|
import android.os.Bundle |
||||||
|
import android.view.View |
||||||
import androidx.fragment.app.Fragment |
import androidx.fragment.app.Fragment |
||||||
|
|
||||||
class FindBookFragment : Fragment() { |
class FindBookFragment(contentLayoutId: Int) : Fragment(contentLayoutId) { |
||||||
|
|
||||||
// override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { |
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||||
// return inflater.inflate(R.layout.fragment_find_book, container) |
super.onViewCreated(view, savedInstanceState) |
||||||
// } |
} |
||||||
// |
|
||||||
// override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
|
||||||
// super.onViewCreated(view, savedInstanceState) |
|
||||||
// } |
|
||||||
|
|
||||||
} |
} |
@ -1,15 +1,13 @@ |
|||||||
package io.legado.app.ui.main.myconfig |
package io.legado.app.ui.main.myconfig |
||||||
|
|
||||||
|
import android.os.Bundle |
||||||
|
import android.view.View |
||||||
import androidx.fragment.app.Fragment |
import androidx.fragment.app.Fragment |
||||||
|
|
||||||
class MyConfigFragment : Fragment() { |
class MyConfigFragment(contentLayoutId: Int) : Fragment(contentLayoutId) { |
||||||
|
|
||||||
// override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { |
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||||
// return inflater.inflate(R.layout.fragment_my_config, container) |
super.onViewCreated(view, savedInstanceState) |
||||||
// } |
} |
||||||
// |
|
||||||
// override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
|
||||||
// super.onViewCreated(view, savedInstanceState) |
|
||||||
// } |
|
||||||
|
|
||||||
} |
} |
Loading…
Reference in new issue