Learn about the ViewPager and why it is so useful when building android apps.
The very first step towards a working ViewPager is to implement a swipeable screen. In this episode, learn how to change the layout that will hold your widget.
Implement a FragmentStateAdapter; this allows you to display different fragments on each of the pages of your ViewPager.
Learn more about the FragmentStateAdapter you created in the previous episode.
Learn how to listen for page changes in order to take appropriate action such as displaying a toast or notification.
Tabs are everywhere. Learn how to add tabs to the top of your app.
RTL stands for right to left. There are many languages that must be read right to left so it is very important to learn how to support RTL in your ViewPager.
Who is this for?
Beginner Android developers who are interested in learning how to use ViewPagers properly by creating a fun app that displays a list of celebrities. This course expects you to be familiar with Android Studio and Kotlin programming.
Covered concepts
- Implement a Swipeable Screen
- Listen for Page Changes
- Implement a FragmentStateAdapter
- RTL Support
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
文明之光(第四册)
吴军 / 人民邮电出版社 / 2017-3 / 69.00元
计算机科学家吴军博士继创作《浪潮之巅》、《数学之美》之后,将视角拉回到人类文明史,以他独具的观点从对人类文明产生了重大影响却在过去被忽略的历史故事里,选择了有意思的几十个片段特写,有机地展现了一幅人类文明发展的画卷。《文明之光》系列创作历经整整四年,本书为其第四卷。 作者所选的创作素材来自于十几年来在世界各地的所见所闻,对其内容都有着深刻的体会和认识。《文明之光》系列第四册每个章节依然相对独......一起来看看 《文明之光(第四册)》 这本书的介绍吧!