Beginning ViewPagers [SUBSCRIBER]

栏目: IT技术 · 发布时间: 6年前

About ViewPager

1:06 Free

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

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

C#图解教程

C#图解教程

索利斯 / 苏林、朱晔 / 人民邮电出版社 / 2009-1 / 65.00元

本书是一本广受赞誉的C# 教程。它以图文并茂的形式,用朴实简洁的文字,并辅之以大量表格和代码示例,精炼而全面地阐述了最新版C# 语言的各种特性,使读者能够快速理解、学习和使用C#。同时, 本书还讲解了C#与VB 、C++ 等主流语言的不同点和相似之处。 本书是一本经典的C# 入门书,不仅适合没有任何编程语言基础的初级读者,而且还是有VB 、C++ 等语言基础的C# 初学者的最佳选择。一起来看看 《C#图解教程》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具