Skip to content

Commit

Permalink
<chore> 适配最新版AndroidStudio(电鳗-长颈鹿),三方依赖库版本更新,更新版本,4.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
SaltedFish-Extreme committed Jan 24, 2024
1 parent 8ccd5bc commit 2ce81da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
11 changes: 6 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId "com.example.wanandroid"
minSdk 24
targetSdk 33
versionCode 22
versionName "4.0.2"
versionCode 23
versionName "4.0.3"

// 仅保留中文语种的资源
resConfigs 'zh'
Expand Down Expand Up @@ -106,6 +106,7 @@ dependencies {
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'*/
//endregion
//vm生命周期kotlin扩展包
//noinspection GradleDependency
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2'
//navigation支持
//noinspection GradleDependency
Expand All @@ -130,7 +131,7 @@ dependencies {
implementation 'com.github.liangjingkanji:StateLayout:1.4.1'*/
//endregion
//RecyclerView https://github.com/liangjingkanji/BRV
implementation 'com.github.liangjingkanji:BRV:1.5.6'
implementation 'com.github.liangjingkanji:BRV:1.5.8'
//Adapter https://github.com/CymChad/BaseRecyclerViewAdapterHelper
implementation "io.github.cymchad:BaseRecyclerViewAdapterHelper:3.0.14"
//序列化数据 https://github.com/liangjingkanji/Serialize
Expand All @@ -146,7 +147,7 @@ dependencies {
//图片加载 https://github.com/bumptech/glide
implementation 'com.github.bumptech.glide:glide:4.16.0'
//轮播图 https://github.com/youth5201314/banner
implementation 'io.github.youth5201314:banner:2.2.2'
implementation 'io.github.youth5201314:banner:2.2.3'
//相机相册 https://github.com/HuanTanSheng/EasyPhotos
implementation 'com.github.HuanTanSheng:EasyPhotos:3.1.5'
//标题栏 https://github.com/getActivity/TitleBar
Expand All @@ -164,7 +165,7 @@ dependencies {
//垂直选项卡布局 https://github.com/qstumn/VerticalTabLayout
implementation 'q.rorbin:VerticalTabLayout:1.2.9'
//web浏览器 https://github.com/Justson/AgentWeb
implementation 'com.github.Justson.AgentWeb:agentweb-core:v5.0.6-androidx'
implementation 'io.github.justson:agentweb-core:v5.1.1-androidx'
//web文件下载 https://github.com/Justson/Downloader
implementation 'com.github.Justson:Downloader:v5.0.4-androidx'
//web进度指示条 https://github.com/Justson/CoolIndicator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.FrameLayout
import androidx.appcompat.widget.Toolbar
import androidx.fragment.app.Fragment
import androidx.viewpager2.widget.ViewPager2
import com.drake.serialize.intent.openActivity
Expand All @@ -30,7 +31,7 @@ class SquareFragment : Fragment() {
private val toolbar: MaterialToolbar by lazy { requireActivity().findViewById(R.id.toolbar) }
private val viewPager: ViewPager2 by lazy { requireView().findViewById(R.id.view_pager) }
private val magicIndicator: MagicIndicator by lazy { requireView().findViewById(R.id.magic_indicator) }
private val toolbarChild: androidx.appcompat.widget.Toolbar by lazy { requireView().findViewById(R.id.include_viewpager_toolbar) }
private val toolbarChild: Toolbar by lazy { requireView().findViewById(R.id.include_viewpager_toolbar) }

/** fragment集合 */
private val fragments: ArrayList<Fragment> by lazy { arrayListOf() }
Expand Down

0 comments on commit 2ce81da

Please sign in to comment.