Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20335

Error: ')' expected

$
0
0

Hello guys, I am trying to run a splash screen and I am getting this error code. The code is exactly the same as the one from the tutorial I was watching from YouTube. I am a beginner

Completable.timer( delay: 5, TimeUnit.SECONDS,

Completable.timer( delay: 5, TimeUnit.SECONDS,
AndroidSchedulers.mainThread())
.subscribe((Action) () -> {
Toast.makeText( context: SplashScreenActivity.this, text:“Splash screen done”, Toast.LENGTH_SHORT).show();


Viewing all articles
Browse latest Browse all 20335

Trending Articles