Загрузка страницы

ViewFlipper - Android Studio Tutorial

In this video we will learn how to use the ViewFlipper widget, which is a subclass of ViewAnimator and makes it easy to switch between different views at runtime.
We can set animations on it either in XML with android:inAnimation and android:outAnimation or in Java code with setInAnimation and setOutAnimation.
With showPrevious and showNext we can flip between views, or alternatively we can let the ViewFlipper switch views automatically either by calling startFlipping after setting an interval with setFlipInterval, or by setting autoStart to true.
With addView we can add dynamically created views to the ViewFlipper in Java code, like a TextView for example.

Example code:
https://gist.github.com/codinginflow/74f7c598196578c8afdd6dda154719ec

____________________
💻 Find the BEST programming tutorials on TutHub:
https://tuthub.io

⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching

❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflo...

📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter

❓ Join our free developer community:
https://discord.gg/TSnMvmc

📣 Follow Coding in Flow on other sites:
Facebook: https://www.facebook.com/codinginflow
Instagram: https://www.instagram.com/codinginflow
TikTok: https://www.tiktok.com/@codinginflow
Twitter: https://twitter.com/codinginflow
Github: https://github.com/codinginflow

💰 Business requests, sponsoring, etc.: info@codinginflow.com

Видео ViewFlipper - Android Studio Tutorial канала Coding in Flow
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
24 апреля 2018 г. 1:00:00
00:10:04
Яндекс.Метрика