透過集合功能整理內容
你可以依據偏好儲存及分類內容。
在背景中載入及載入各個 ContentProvider 資料。
最近更新時間 |
穩定版 |
發布候選人 |
測試版 |
Alpha 版 |
2018 年 9 月 21 日 |
1.0.0 |
- |
- |
- |
宣告依附元件
如要在 ContentPager 中新增依附元件,必須將 Google Maven 存放區新增至您的專案。詳情請參閱 Google 的 Maven 存放區。
在應用程式或模組的 build.gradle
檔案中,新增您需要的成果依附元件:
Groovy
dependencies {
implementation "androidx.contentpager:contentpager:1.0.0"
}
Kotlin
dependencies {
implementation("androidx.contentpager:contentpager:1.0.0")
}
如要進一步瞭解依附元件,請參閱新增建構依附元件一文。
意見回饋
你的意見可協助我們改善 Jetpack。如發現新問題或有改善這個程式庫的想法,請告訴我們。請先查看此程式庫中的現有問題,再建立新程式庫。只要點選星號按鈕,即可投票給現有的問題。
建立新期號
詳情請參閱 Issue Tracker 文件。
這個成果沒有任何版本資訊。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2022-04-26 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]