Register Gradle Dependencies

8 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$15
List Price:  $69.99
You save:  $54.99
€14.42
List Price:  €67.28
You save:  €52.86
£11.98
List Price:  £55.93
You save:  £43.94
CA$21
List Price:  CA$98.01
You save:  CA$77
A$23.11
List Price:  A$107.87
You save:  A$84.75
S$20.23
List Price:  S$94.42
You save:  S$74.19
HK$116.75
List Price:  HK$544.78
You save:  HK$428.02
CHF 13.33
List Price:  CHF 62.22
You save:  CHF 48.88
NOK kr167.05
List Price:  NOK kr779.46
You save:  NOK kr612.41
DKK kr107.54
List Price:  DKK kr501.79
You save:  DKK kr394.25
NZ$25.71
List Price:  NZ$119.98
You save:  NZ$94.27
د.إ55.09
List Price:  د.إ257.07
You save:  د.إ201.97
৳1,800.81
List Price:  ৳8,402.58
You save:  ৳6,601.77
₹1,267.02
List Price:  ₹5,911.93
You save:  ₹4,644.90
RM67.01
List Price:  RM312.68
You save:  RM245.66
₦25,366.20
List Price:  ₦118,358.68
You save:  ₦92,992.48
₨4,168.87
List Price:  ₨19,451.98
You save:  ₨15,283.10
฿518.92
List Price:  ฿2,421.30
You save:  ฿1,902.37
₺518.59
List Price:  ₺2,419.75
You save:  ₺1,901.16
B$87.18
List Price:  B$406.81
You save:  B$319.62
R271.37
List Price:  R1,266.21
You save:  R994.84
Лв28.16
List Price:  Лв131.43
You save:  Лв103.26
₩21,100.58
List Price:  ₩98,455.31
You save:  ₩77,354.72
₪55.85
List Price:  ₪260.61
You save:  ₪204.75
₱884.23
List Price:  ₱4,125.84
You save:  ₱3,241.60
¥2,317.58
List Price:  ¥10,813.84
You save:  ¥8,496.25
MX$307.03
List Price:  MX$1,432.62
You save:  MX$1,125.59
QR54.94
List Price:  QR256.35
You save:  QR201.41
P205.72
List Price:  P959.91
You save:  P754.19
KSh1,942.50
List Price:  KSh9,063.70
You save:  KSh7,121.20
E£745.10
List Price:  E£3,476.67
You save:  E£2,731.56
ብር1,877.89
List Price:  ብር8,762.26
You save:  ብር6,884.36
Kz13,689.91
List Price:  Kz63,877.12
You save:  Kz50,187.21
CLP$14,606.10
List Price:  CLP$68,152.06
You save:  CLP$53,545.96
CN¥108.73
List Price:  CN¥507.37
You save:  CN¥398.63
RD$907.99
List Price:  RD$4,236.71
You save:  RD$3,328.71
DA2,005.03
List Price:  DA9,355.50
You save:  DA7,350.46
FJ$34.14
List Price:  FJ$159.32
You save:  FJ$125.18
Q116.32
List Price:  Q542.77
You save:  Q426.45
GY$3,152.73
List Price:  GY$14,710.67
You save:  GY$11,557.93
ISK kr2,095.05
List Price:  ISK kr9,775.50
You save:  ISK kr7,680.45
DH150.70
List Price:  DH703.21
You save:  DH552.50
L273.59
List Price:  L1,276.61
You save:  L1,003.01
ден881.42
List Price:  ден4,112.73
You save:  ден3,231.30
MOP$120.81
List Price:  MOP$563.70
You save:  MOP$442.89
N$272.67
List Price:  N$1,272.29
You save:  N$999.62
C$551.55
List Price:  C$2,573.53
You save:  C$2,021.98
रु2,027.66
List Price:  रु9,461.06
You save:  रु7,433.40
S/57.24
List Price:  S/267.08
You save:  S/209.84
K60.66
List Price:  K283.05
You save:  K222.38
SAR56.32
List Price:  SAR262.80
You save:  SAR206.47
ZK415.53
List Price:  ZK1,938.90
You save:  ZK1,523.36
L71.74
List Price:  L334.76
You save:  L263.01
Kč366.03
List Price:  Kč1,707.89
You save:  Kč1,341.86
Ft5,928.77
List Price:  Ft27,663.65
You save:  Ft21,734.88
SEK kr166.96
List Price:  SEK kr779.03
You save:  SEK kr612.07
ARS$15,060.50
List Price:  ARS$70,272.32
You save:  ARS$55,211.81
Bs104.12
List Price:  Bs485.83
You save:  Bs381.71
COP$66,579.79
List Price:  COP$310,661.31
You save:  COP$244,081.52
₡7,660.47
List Price:  ₡35,743.76
You save:  ₡28,083.28
L380.80
List Price:  L1,776.85
You save:  L1,396.04
₲118,273.79
List Price:  ₲551,865.53
You save:  ₲433,591.73
$U642.15
List Price:  $U2,996.30
You save:  $U2,354.14
zł62.65
List Price:  zł292.33
You save:  zł229.67
Already have an account? Log In

Transcript

Okay, so the project question, the first step will be for us to come to on credit scripts. Now 100 and 100 demyx is the credit repair system, okay? So of course hundred still will have to generate for us a couple of scripts. And then you can see the culture so build credit to them. No one is located in our project folder. So project folder, just right click your project feature and then go to show in Explorer.

So if you go to shame Explorer, you can see that in our root folder, personal diary, you can see we have this big Okay, this is the one that is located in our project level. No, inside the zone or drug into this very simple construct. We're only going to add this particular model you are recharging neutral, we're going to legislate to the repository. So Here you can see already, we have two repositories, which will be added for us by default, Google as well as the J center. Okay, so these repositories can host their libraries, party libraries that are not included in the Android SDK that we want, of course, to use in our project. So just make sure that you've added this jetpack, that IO because these are the property, which is actually hosted feature, which we're going to use.

So having done that, if we move to the next one, this is the most interesting one because there were no good other dependencies. Now, of course, this is located in our module up for our app folder. So if we come to our app folder, later in our project, you can see we have this little cracker feature. Okay. So, of course, first and foremost, our plugin and we pray has been applied the new have a complaint SDK version specified than the default configurations, as well as the build types are included Rachel in the unclick. Okay, so this is because this particular configurations that you have, this will be handled by the Android plugin.

Okay. So in this crowd Reacher we have of course, two type of specifications that you can specify either ones that have been hundred, the ankle plugin, or ones that have been hundred club itself. So the ones that are included in this anchored closure chat, this will be handled by, of course our angled plugin. Now you can see of course, we've also added compile options, compile options to get compatibility, uncoated, and source compatibility. One will take Okay, so this is going to make all these gains to make our project Java a trading skill to make Sub project support, give support to Java eight. Of course, we are going to some Java eight features, for example, in our onclicklistener.

Instead of using the anonymous classes, we'll be using the lambda expressions for to be able to do that, you need to make sure that you've added this closure. Now did that run, and then we'll come now to our dependencies. So the dependencies outside of our closure, because the dependencies will be handled by the project or project project. Okay, not just the undred plugin, but of course, credit itself. So what we can reach out to do is the two other dependencies, starting with the unpredict pregnancies, like the compact, which is going to give us, of course, our app compat activity from which we're going to be craving the new laws about cookies. 20 out, and then our RecyclerView which is what is going to render our data, then Kudu, which will be shown in our recyclables, and of course, my trailer, which will give us material components like the toolbar, the floating action button, etc.

Now, we're gonna stop contact deserves in across our room components, several components are going to have their home and time as the rest the room compiler. So you guys have to be aware that of course our project is going to start our there is a cost in the escalator and we're going to the room which is as our data access layer. So this is going to give us several important advantages which you're going to see. Okay, so but choose from of course, we need the room sometimes the room controller, for example, company is going to be able to infer some of the annotations that you're going to use, of course at compile time Okay, so for example, if we write the SQL statement, which is wrong, then they won't be able to detect that cannot compile, which, of course, is a reflection. Of course, you can use later versions richer than me.

So once you've done that, once again, we have the lace a core components. Now, of course, Chrome, as well as display cipher components. These are part of the Android architecture components, which are added in the year 2017. So in the life cycle extensions, you're going to get classes, the zoo model class, as well as the live data, okay? These are going to allow us to, of course, implement the clean architecture, basically, is the MVVM design pattern feature. Okay.

So all you need to do is to add this life cycle extension as they leave SQL compiler, right that no one student has done These are actually anxiolytics components. Now. They included, of course in the SDK, as long as you've updated SDK, then we're now going to come and is this six populate price setting the maturity icon, which has been shut this beautiful icons are seen in our project. Okay, now, we have the date picker edittext. This is going to allow us of course to pick that okay. So if you want to pick any this, you can choose design did picker, then carry corruption fuel pump, these are going to work hand in hand to allow us to inject custom funds, of course into our profession, then you have the luxury dialogue.

So the role of the public dialogue we're going to use extensively in this project because we're going to be using dialogues, our input, okay, so, those dialogues, remember Getting them from display prairie. They're mature dialogues. And this report makes it very easy for us to use and modify it is developed. Then we have the horizontal speaker, which is the main competitor, we're using. Now this horizontal case was standing up. That's why we did this lecture.

Okay. So, of course it is could see that the speaker whereby we could select a date and then filter. Our data is where that is practiced. You have this small library, the horizontal picker, okay. That's what it's called. It's going to basically allow us to pick day by day.

Okay, so yeah, those are our components. Of course, if you have some replacement components that you'd like to use, where you can use them, okay, so this is the creature make sure you've added a twist or design feature, and then you come to a project, click this one to sync, of course, the first thing you will need internet connectivity to download these items, then, of course, Android Studio will be able to cache them locally. And subsequently, you won't be needing internet to, of course. When you add them in any project, okay, yeah, so this is it. Let's proceed.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.