Glad I got recommendation and discovered this channel. I Always wanted to learn Android development with Kotlin thanks man your channel is really a heaven for Android Dev 's 😇 ❤️
@@deeno9631 Thank you what, my friend... What did you EXACTLY do to resolve this? Yes, we all know iv_note is an ID for the IMAGEVIEW in Activity_Splash_Screen.XML and Activity_Splash_Screen is LINKED to SplashScreenActivity.kt. Still, Android Studio can't resolve iv_note in SplashScreenActivity.kt. What EXACTLY did you and Server above you do to resolve this issue?
Thank you. Now, I've researched about the blogspot link you gave in the description, that the contents inside the link should be more "efficient" than you're code, I think its the same. Hmm.
thanks for the tutorial it's really helpfull ...but i have a little problem if anyone can help ... i'm a beginer and i'm working on an app delivery and wanted to add a splash screen to my app ...but when idid exactely what i saw on this video and build the app then tested it on my android device the splash screen wouldn't appear and it went directly to the main page wich is the login page ...if anyone can help me with this it would be grate ...thanks y'all have a nice day !
Some error came up when running the app. Fixed it by changing startActivities(intent) TO startActivities(arrayOf(intent)) This is what my final kotlin looked in my SplashScreenActivity.kt package com.example.ergames import android.content.Intent import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import kotlinx.android.synthetic.main.activity_splash_screen.* class SplashScreenActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_splash_screen) McCoy.alpha = 0f McCoy.animate().setDuration(1500).alpha(1f).withEndAction { val intent = Intent(this, MainActivity::class.java) startActivities(arrayOf(intent)) overridePendingTransition(android.R.anim.fade_in,android.R.anim.fade_out) finish() } } }
Please don't do that. You don't need another activity in order to create a splash screen. It is not recommended by google to have more than one activity as this introduces bugs..
@@naturalhoney6307 I solved the problem, put it as : class SplashScreenActivity : AppCompatActivity() { lateinit var handler: Handler override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_splash_screen) handler = Handler() handler.postDelayed({ val i = Intent(this, MainActivity::class.java) startActivity(i) overridePendingTransition(android.R.anim.fade_in,android.R.anim.fade_out) finish() }, 3000)
I implemented this into my app that uses fragments and navigation plus custom toolbar and it works flawlessly. Thanks and keep up the good work!
I appreciate how you just jumped into the tutorial directly
thanks for this tutorial it was amazing
Glad I got recommendation and discovered this channel. I Always wanted to learn Android development with Kotlin thanks man your channel is really a heaven for Android Dev 's 😇 ❤️
I love your no-frills presentation. Super concise and helpful. Thanks.
Super concise! Love this!
Would have been great if you added the source code in the content description.
Short and simple video with clear explanation. Thanks !!!
you could make an introduction screen of the app, when the person installs it for the first time, it would be interesting.
Great videos.
i made my image id as iv_note but the compiler cant get the reference pls help
How you used Id name without binding.ID and without findviewbyid ??
I have a problem with iv_note it tells me unresolved reference, how can I solve this problem?
iv_note is most likely the ID of the image in the xml file.. iv_note stands for image view _ note(as is the musical note) lol
id 'kotlin-android-extensions' Just add this to your build.gradle (app)
@@RankOoze yeah, that did it, nice.
@@RankOoze thank you
@@deeno9631 Thank you what, my friend... What did you EXACTLY do to resolve this? Yes, we all know iv_note is an ID for the IMAGEVIEW in Activity_Splash_Screen.XML and Activity_Splash_Screen is LINKED to SplashScreenActivity.kt. Still, Android Studio can't resolve iv_note in SplashScreenActivity.kt. What EXACTLY did you and Server above you do to resolve this issue?
Thanks for all. We are waiting new the videos.👏👏👏
unresolved reference iv_note....? how to fix this error
¡Justo lo que estaba buscando!
Thank u. It really helped me. I appreciate it. :) Good luck
Thanks for the help buddy. Keep Up!!
Works Like a charm!
man u amazing and right to the point
Thank you.
Now, I've researched about the blogspot link you gave in the description, that the contents inside the link should be more "efficient" than you're code, I think its the same. Hmm.
thanks for the tutorial it's really helpfull ...but i have a little problem if anyone can help ...
i'm a beginer and i'm working on an app delivery and wanted to add a splash screen to my app ...but when idid exactely what i saw on this video and build the app then tested it on my android device the splash screen wouldn't appear and it went directly to the main page wich is the login page ...if anyone can help me with this it would be grate ...thanks y'all have a nice day !
the best channel
gracias amigo
Thanks My Friend 🌹🌹🌹🌹
Some error came up when running the app. Fixed it by changing
startActivities(intent)
TO
startActivities(arrayOf(intent))
This is what my final kotlin looked in my SplashScreenActivity.kt
package com.example.ergames
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_splash_screen.*
class SplashScreenActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_splash_screen)
McCoy.alpha = 0f
McCoy.animate().setDuration(1500).alpha(1f).withEndAction {
val intent = Intent(this, MainActivity::class.java)
startActivities(arrayOf(intent))
overridePendingTransition(android.R.anim.fade_in,android.R.anim.fade_out)
finish()
}
}
}
Thanks man!!
Please don't do that. You don't need another activity in order to create a splash screen. It is not recommended by google to have more than one activity as this introduces bugs..
Agreed
Nice job!
Thank you 💕
thank a lot man
Thx bro !!
I don't have the styles.xml in my values folder. Can you help me out? TIA.
What I have is themes folder instead of style.xml
@@leanneralphisales6177 It is themes now I believe but it has the same functions
@@leanneralphisales6177 In new Android studio there is no styles. Xml
oddio sei italiano per caso?
ahaha, si, peró ho vissuto per molto tempo all'estero
@@Indently bro hai per caso il file di questo progetto?vorrei provare ,perché uso da poco android studiose lo hai me lo puoi inviare ?
thank my love
thankss bro help me a lot
Too fast, lack of detail and some concepts are not well explained
For a comment complaining about lack of detail, it was not very detailed 😂
@@Indently but he is right. Is here an updated Version that actually works?
i need help in ""iv_note" is this what ? because i can't found a right method to putting it.
iv_note is imageview from the XML
@@Indently ohky so, one question in my mind can we set into progressBar ?
You can place a progress bar into the splashscreen activity, and start the MainActivity Intent when the progress bar reaches 100%.
@@Indently thank you for your support..
@@Indently What did you do to resolve it, i´m still with error (I set a different name for image and im using the same on de code) ...
Nice
i love you.
thankyu so muchhh
How do I create what you did in 2:21 ?
That's just importing and Image View from my xml, try hovering over it
@@Indently Nothing happened.
How can I make it in xml?
@@naturalhoney6307 I solved the problem, put it as :
class SplashScreenActivity : AppCompatActivity() {
lateinit var handler: Handler
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_splash_screen)
handler = Handler()
handler.postDelayed({
val i = Intent(this, MainActivity::class.java)
startActivity(i)
overridePendingTransition(android.R.anim.fade_in,android.R.anim.fade_out)
finish()
}, 3000)
@@aminehii7113 what's the intent for (after val i)
After this how to create login screen
крутой видос!
Kot means cat in RUssians
Kotlin is the name of an Island, nothing to do with cats.
I need the java version
great!
I dont have a styles.xml file inside values :(
game over, man, game over
Create a style.xml file