Del curso: Android Development Tips
Desbloquea este curso con un periodo de prueba gratis
Únete hoy para acceder a más de 22.700 cursos impartidos por expertos del sector.
Communicate with Snackbar messages - Tutorial de Android
Del curso: Android Development Tips
Communicate with Snackbar messages
- [Instructor] Nearly all Android apps have to communicate information to the user when a status changes, when an operation finishes, or perhaps when something doesn't go according to plan. The SDK includes the Toast message, a message you can trigger easily that appears independently of the current activity. I'll add a Toast message to the runCode method of this application. After I call my log method, I'll type Toast and press tab, and then I'll pass in a literal string of this is a Toast message. I'll run the app, and when I click the Run Code button, I get the Toast message. Now the Toast message can appear for any length of time. I'm currently using a constant called LENGTH_SHORT. I'll change that to LENGTH_LONG, and then I'll run the application again. And this time when I display the message, and I click the Run Code button, the message stays on the screen longer, and this gives me an opportunity to show you something interesting. I'll click the Run Code button three times, and…
Contenido
-
-
-
(Bloqueado)
Communicate with Snackbar messages6 min 15 s
-
(Bloqueado)
Manage view components with Butter Knife6 min 41 s
-
Create a reusable dialog class9 min 22 s
-
(Bloqueado)
Convert a layout to ConstraintLayout7 min 13 s
-
(Bloqueado)
Manage global data with singletons5 min 37 s
-
(Bloqueado)
Convert image files to WEBP format6 min 5 s
-
(Bloqueado)
Create an Espresso user interface test5 min 18 s
-
(Bloqueado)
Create classes for Android with Kotlin5 min 12 s
-
(Bloqueado)
Run background tasks in intent services8 min 51 s
-
(Bloqueado)
Send broadcast messages with EventBus8 min 44 s
-
Handle events with Java 8 syntax5 min 51 s
-
(Bloqueado)
Improve forms with design layouts7 min 55 s
-
(Bloqueado)
Display draggable rows in a list of data8 min 1 s
-
(Bloqueado)
Manage persistent data with Realm10 min 23 s
-
(Bloqueado)
Play an audio file from assets8 min 56 s
-
(Bloqueado)
Send an SMS message from an app7 min 56 s
-
(Bloqueado)
Get a list of audio files on a device8 min 32 s
-
(Bloqueado)
Play sounds with SoundPool8 min 45 s
-
(Bloqueado)
Display the build date of an APK file6 min 47 s
-
(Bloqueado)
Build Kotlin classes with properties7 min 32 s
-
(Bloqueado)
Manage versioning with Gradle variables6 min 8 s
-
(Bloqueado)
Use reporting tools from the Google Play Console4 min 44 s
-
Make web service calls with Retrofit10 min 39 s
-
(Bloqueado)
Make asynchronous calls with Retrofit4 min 6 s
-
(Bloqueado)
Send request parameters with Retrofit4 min
-
(Bloqueado)
Upgrade a project to Android Studio 3.04 min 47 s
-
(Bloqueado)
Clean up calls to findViewById()2 min 58 s
-
(Bloqueado)
Create adaptive launcher icons5 min 47 s
-
(Bloqueado)
Use XML and downloadable fonts6 min 40 s
-
(Bloqueado)
Explore a device's file system4 min 55 s
-
Profile an app's memory usage3 min 52 s
-
(Bloqueado)
Manage an SQLite database with Room9 min 17 s
-
(Bloqueado)
Manage background threads with Executors5 min 32 s
-
(Bloqueado)
Track vital stats in a published app3 min 4 s
-
(Bloqueado)
Inspect database files with DB Browser4 min 41 s
-
(Bloqueado)
Execute tasks with JobScheduler7 min 29 s
-
(Bloqueado)
Create Room entity classes in Kotlin8 min 22 s
-
(Bloqueado)
Create Room DAO classes in Kotlin4 min 13 s
-
(Bloqueado)
Upgrade to Android Studio 3.13 min 22 s
-
(Bloqueado)
Convert a project to use Kotlin3 min 20 s
-
(Bloqueado)
Handle events with Kotlin lambdas6 min 13 s
-
Manage menus with when3 min 44 s
-
(Bloqueado)
Define global constants with Kotlin6 min 12 s
-
(Bloqueado)
Use Kotlin data and enum classes5 min 24 s
-
(Bloqueado)
Create inheritance hierarchies in Kotlin6 min 8 s
-
(Bloqueado)
Manage data collections in Kotlin5 min 45 s
-
(Bloqueado)
Sort data collections with Kotlin5 min 33 s
-
Filter data collections with Kotlin3 min 52 s
-
(Bloqueado)
Create Kotlin extension functions2 min 31 s
-
Use support functions from Android KTX4 min 30 s
-
(Bloqueado)
Use virtual devices with Google Play3 min 50 s
-
(Bloqueado)