How to Create android app #Lesson-1
August 24, 2019
0
comments
Training team. This course provides a series of codelabs that lead you through the fundamentals of building Android apps using Kotlin. In this course, you learn basic Android Kotlin programming concepts and build various apps.
We recommend that you take the codelabs in sequence, but it's not a requirement.
To learn about other Android training created by the Google Developers Training team, visit Google Developers Training: Android.
Prerequisites
To take the Android Kotlin Fundamentals course, we recommend that you have at least 2 years of experience in a full-fledged object-oriented programming language such as Java, C++, or Smalltalk.You should be familiar with all the concepts, tools, and vocabulary taught in Udacity's free Kotlin Bootcamp for Programmers course.
You should also be comfortable navigating GitHub and familiar with the following concepts:
- Basic multithreading and exception handling.
- How code is built, compiled, and executed, in general terms.
Starter and solution code
As you work through the codelabs in the Android Kotlin Fundamentals course, you create apps. The source code for starter apps and solution code for the apps that you create is in GitHub.- Lesson 1: Build your first app
- Lesson 2: Layouts
- Lesson 3: Navigation
- Lesson 4: Activity and fragment lifecycles
- Lesson 5: Architecture components
- Lesson 6: Room database and coroutines
- Lesson 7: RecyclerView
- Lesson 8: Connecting to the internet
- Lesson 9: Repository
- Lesson 10: Designing for everyone
Lesson 1: Build your first app
Lesson 1 includes the following codelabs:
- 1.0 Install Android Studio
- 1.1 Get started
- 1.2 Basic app anatomy
- 1.3 Image resources and compatibility
- 1.4 Learn to help yourself
Lesson 2: Layouts
findViewById()
.Lesson 2 includes the following codelabs:
- 2.1 Linear layout using the Layout Editor
- 2.2 Add user interactivity
- 2.3 Constraint layout using the Layout Editor
- 2.4 Data-binding basics
Lesson 3: Navigation
Lesson 3 includes the following codelabs:
Lesson 4: Activity and fragment lifecycles
Lesson 4 includes the following codelabs:
Lesson 5: Architecture components
ViewModel
and LiveData
objects. You learn how to use ViewModel
objects to enable data to survive configuration changes such as screen rotations. You convert an app's UI data into encapsulated LiveData
and add observer methods that are notified when the value of the LiveData
changes.You also integrate
LiveData
and ViewModel
with data binding so that the views in your layout communicate directly with ViewModel
objects, without using the app's fragments to relay information. This technique simplifies your code and eliminates the need for click handlers in the UI controllers.Lesson 5 includes the following codelabs:
- 5.1 ViewModel and ViewModelProvider
- 5.2: LiveData and LiveData observers
- 5.3: DataBinding with ViewModel and LiveData
- 5.4: LiveData transformations
Lesson 6: Room database and coroutines
Room
database library. Room
takes care of many of the chores of setting up and configuring a database, and simplifies the code for interacting with the database. You learn how to use Kotlin coroutines to move database operations away from the main thread, and you learn more about using ViewModel
and LiveData
with app navigation.Lesson 6 includes the following codelabs:
Lesson 7: RecyclerView
RecyclerView
to efficiently display lists and grids of items. For complex lists and grids, you learn ways to make RecyclerView
more efficient and your code easier to maintain and extend. You learn how to make items in a RecyclerView
clickable. You also learn how to add more than one view holder and layout to lists and grids in a RecyclerView
, for example, to add a header in your app.Lesson 7 includes the following codelabs:
- 7.1 RecyclerView fundamentals
- 7.2 DiffUtil and data binding with RecyclerView
- 7.3 GridLayout with RecyclerView
- 7.4 Interacting with RecyclerView items
- 7.5 Headers in RecyclerView
Lesson 8: Connecting to the internet
RecyclerView
and use it to display a grid of images.Lesson 8 includes the following codelabs:
- 8.1 Getting data from the internet
- 8.2 Loading and displaying images from the internet
- 8.3 Filtering and detail views with internet data
Lesson 9: Repository
WorkManager
to schedule background tasks in an efficient and optimized way.Lesson 9 includes the following codelabs:
Lesson 10: Designing for everyone
Lesson 10 includes the following codelabs:
0 comments:
If you have any doubts & Suggestion, Please let me know