Commit d6e04323920e8266cbbfe61259967ee1c427f4a3

Authored by 简柏林
1 parent 07692de1

尚端

... ... @@ -98,7 +98,7 @@ class MainFragment : BrowseSupportFragment() {
98 98 Collections.shuffle(list)
99 99 }
100 100 val listRowAdapter = ArrayObjectAdapter(cardPresenter)
101   - for (j in 0 until NUM_COLS) {
  101 + for (j in 0 until list.size) {
102 102 listRowAdapter.add(list[j])
103 103 }
104 104 val header = HeaderItem(i.toLong(), MovieList.MOVIE_CATEGORY[i])
... ...
... ... @@ -12,26 +12,56 @@ object MovieList {
12 12
13 13 private fun setupMovies(): List<Movie> {
14 14 val title = arrayOf(
15   - "企业宣传看板",
16   - "数字⻋间监控看板"
  15 + "党建看板",
  16 + "企业宣传",
  17 + "SMT工艺介绍",
  18 + "设备看板",
  19 + "企业产品介绍",
  20 + "销售市场分析",
  21 + "组装工艺介绍",
  22 + "深圳仓储介绍"
17 23 )
18 24
19 25 val description = ""
20 26 val studio = arrayOf(
21   - "企业宣传看板",
22   - "数字⻋间监控看板"
  27 + "党建看板",
  28 + "企业宣传",
  29 + "SMT工艺介绍",
  30 + "设备看板",
  31 + "企业产品介绍",
  32 + "销售市场分析",
  33 + "组装工艺介绍",
  34 + "深圳仓储介绍"
23 35 )
24 36
25 37 val webUrl = arrayOf(
26   - "https://mi.qgutech.com/sc/lx-gyd-qyxc.html",
27   - "https://mi.qgutech.com/sc/lx-gyd-szcj.html"
  38 + "https://mi.qgutech.com/sc/hx-hm-zhdj.html",
  39 + "https://mi.qgutech.com/sc/lx-sd-qyxc.html",
  40 + "https://mi.qgutech.com/sc/lx-sd-smt.html",
  41 + "https://mi.qgutech.com/sc/lx-sd-sbzt.html",
  42 + "https://mi.qgutech.com/sc/lx-sd-cpjs.html",
  43 + "https://mi.qgutech.com/sc/lx-sd-xssc.html",
  44 + "https://mi.qgutech.com/sc/lx-sd-zzgy.html",
  45 + "https://mi.qgutech.com/sc/lx-sd-szcc.html"
28 46 )
29 47 val bgImageUrl = arrayOf(
30 48 "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Zeitgeist/Zeitgeist%202010_%20Year%20in%20Review/bg.jpg",
  49 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Demo%20Slam/Google%20Demo%20Slam_%2020ft%20Search/bg.jpg",
  50 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Zeitgeist/Zeitgeist%202010_%20Year%20in%20Review/bg.jpg",
  51 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Demo%20Slam/Google%20Demo%20Slam_%2020ft%20Search/bg.jpg",
  52 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Zeitgeist/Zeitgeist%202010_%20Year%20in%20Review/bg.jpg",
  53 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Demo%20Slam/Google%20Demo%20Slam_%2020ft%20Search/bg.jpg",
  54 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Zeitgeist/Zeitgeist%202010_%20Year%20in%20Review/bg.jpg",
31 55 "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Demo%20Slam/Google%20Demo%20Slam_%2020ft%20Search/bg.jpg"
32 56 )
33 57 val cardImageUrl = arrayOf(
34 58 "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Zeitgeist/Zeitgeist%202010_%20Year%20in%20Review/card.jpg",
  59 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Demo%20Slam/Google%20Demo%20Slam_%2020ft%20Search/card.jpg",
  60 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Zeitgeist/Zeitgeist%202010_%20Year%20in%20Review/card.jpg",
  61 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Demo%20Slam/Google%20Demo%20Slam_%2020ft%20Search/card.jpg",
  62 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Zeitgeist/Zeitgeist%202010_%20Year%20in%20Review/card.jpg",
  63 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Demo%20Slam/Google%20Demo%20Slam_%2020ft%20Search/card.jpg",
  64 + "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Zeitgeist/Zeitgeist%202010_%20Year%20in%20Review/card.jpg",
35 65 "https://commondatastorage.googleapis.com/android-tv/Sample%20videos/Demo%20Slam/Google%20Demo%20Slam_%2020ft%20Search/card.jpg"
36 66 )
37 67
... ...
1 1 <resources>
2   - <string name="app_name">bigScreem</string>
3   - <string name="browse_title">固亚德大屏展示</string>
  2 + <string name="app_name">大屏展示</string>
  3 + <string name="browse_title">尚端大屏展示</string>
4 4 <string name="related_movies">Related Videos</string>
5 5 <string name="grid_view">返回</string>
6 6 <string name="error_fragment">错误</string>
... ...