【问题标题】:Using Image Slider com.denzcoskun.imageslider.ImageSlider (Slider view) But?使用图像滑块 com.denzcoskun.imageslider.ImageSlider(滑块视图) 但是?
【发布时间】:2022-01-15 14:36:02
【问题描述】:

我想使用图片幻灯片视图但出错了

 allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
 }

  dependencies {
    implementation 'com.github.denzcoskun:ImageSlideshow:0.1.0'
 }

Xml 文件

   <com.denzcoskun.imageslider.ImageSlider
    android:id="@+id/image_slider"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    app:iss_auto_cycle="true"
    app:iss_period="1000"
    app:iss_delay="0"/>

更多详情..click

【问题讨论】:

    标签: android xml android-layout layout


    【解决方案1】:

    你放错了gradle。

    gradle 模块中的实现

    gradle 项目中的 maven

    【讨论】:

    • 正如目前所写,您的答案尚不清楚。请edit 添加其他详细信息,以帮助其他人了解这如何解决所提出的问题。你可以找到更多关于如何写好答案的信息in the help center
    猜你喜欢
    • 2013-07-02
    • 2012-09-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-02-09
    相关资源
    最近更新 更多