This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: jangrewe/gitlab-ci-android:latest | |
before_script: | |
- if [ ! -d /cache$ANDROID_HOME ]; then mv $ANDROID_HOME /cache$ANDROID_HOME; fi | |
- export ANDROID_HOME=/cache$ANDROID_HOME | |
- cd LTCfastpay | |
- export GRADLE_USER_HOME=`pwd`/.gradle | |
- chmod +x ./gradlew | |
stages: | |
- build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard let contentSubs = serie.season[0].content[0].subtitle, contentSubs.count > 0 else { | |
langsContainer.isHidden = true; | |
//Aca no se deberia esconder skeleton? | |
return | |
} | |
langs.text = contentSubs.map { LanguageHelper.getName(from: $0.lang).get(orSet: "") }.joined(separator: ", ") | |
langs.hideSkeleton() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private val SLEEP_TIME = 5000L | |
private val TAG = "CounterAsyncTask" | |
private fun sendGet(urlToCall: String = "https://www.google.com/") { | |
Thread.sleep(SLEEP_TIME) | |
val url = URL(urlToCall) | |
with(url.openConnection() as HttpURLConnection) { |