A Pen by Saleh Alanazi on CodePen.
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
class MainActivity : AppCompatActivity() { | |
private val secretUserNum = Random().nextInt(100) + 1 | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
findViewById<TextView>(R.id.actualPass).text = "Actual pass $secretUserNum " |
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
// By Sal7one - 3/4/2022 | |
// Inline ImageLoader if you have a diffrenet need than your ImageLoader Singlton | |
// | |
// Since LocalImageLoader is deprecated | |
// | |
// Coil Version | |
// implementation("io.coil-kt:coil-compose:2.0.0-rc02") | |
// implementation("io.coil-kt:coil-svg:2.0.0-rc02") | |
// | |
// |
NewerOlder