Closed haolam98 closed 10 months ago
I think you're pulling the artifacts from jcenter, which is deprecated by now. Try adding Sonatype's snapshots repository and use version 0.1-SNAPSHOT
.
Sorry, I'm new to this stuff. How can I add the Sonatype repository to my Android Studio project? I tried to add the Sonatype repo in the Gradel Project, but I think I did it the wrong way. Because, I still get the unresolve NonNull error on the setOnHashtagClickListener() function
Below are my Gradle App and Gradle Project file & the error I got on my Android Studio project:
Thanks
In your root build.gradle
:
allprojects {
repositories {
maven { url "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" }
}
}
Then change the version of the library from 0.2
to 0.1-SNAPSHOT
.
why jitpack version not working.... https://jitpack.io/p/hendraanggrian/socialview
https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ could not found
Hi all, the library has never been uploaded to Jitpack. It was previously hosted on Jcenter before it was deprecated. Now they are on Maven Central, refer to badges in README for the links.
Hello, I tried to get the basic SocialTextView for my hashtags list. For example, SocialTextView will contain: "#abc #efg #123 #fghh #iop". And I want to make it clickable on every hashtag in the SocialTextView.
I followed the readme file but get some trouble with setOnHashtagClickListener().Please help! Thanks
I think there is only Function2 method suggest for setOnHashtagClickListener(). And I believe this method is for Kotlin, not java. I cannot work with this method since it requires a return of Unit object?
Also, I cannot update to latest version (0.2) due to some packages does not exist too. I'm currently in version 0.1