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
€13.99
List Price:  €65.30
You save:  €51.31
£11.97
List Price:  £55.85
You save:  £43.88
CA$20.47
List Price:  CA$95.55
You save:  CA$75.07
A$22.85
List Price:  A$106.62
You save:  A$83.77
S$20.39
List Price:  S$95.18
You save:  S$74.78
HK$117.40
List Price:  HK$547.80
You save:  HK$430.40
CHF 13.67
List Price:  CHF 63.79
You save:  CHF 50.12
NOK kr164.96
List Price:  NOK kr769.72
You save:  NOK kr604.76
DKK kr104.38
List Price:  DKK kr487.07
You save:  DKK kr382.68
NZ$25.10
List Price:  NZ$117.16
You save:  NZ$92.05
د.إ55.09
List Price:  د.إ257.06
You save:  د.إ201.97
৳1,648.26
List Price:  ৳7,690.80
You save:  ৳6,042.54
₹1,251.95
List Price:  ₹5,841.61
You save:  ₹4,589.65
RM71.54
List Price:  RM333.81
You save:  RM262.27
₦19,876.95
List Price:  ₦92,745.84
You save:  ₦72,868.89
₨4,181.05
List Price:  ₨19,508.81
You save:  ₨15,327.75
฿555.22
List Price:  ฿2,590.69
You save:  ฿2,035.46
₺485.45
List Price:  ₺2,265.11
You save:  ₺1,779.66
B$76.75
List Price:  B$358.13
You save:  B$281.38
R281.14
List Price:  R1,311.83
You save:  R1,030.68
Лв27.37
List Price:  Лв127.74
You save:  Лв100.36
₩20,652.15
List Price:  ₩96,362.95
You save:  ₩75,710.79
₪56.45
List Price:  ₪263.40
You save:  ₪206.95
₱865.52
List Price:  ₱4,038.52
You save:  ₱3,173
¥2,338.33
List Price:  ¥10,910.67
You save:  ¥8,572.33
MX$256.91
List Price:  MX$1,198.75
You save:  MX$941.83
QR54.76
List Price:  QR255.51
You save:  QR200.75
P206.72
List Price:  P964.58
You save:  P757.85
KSh2,025
List Price:  KSh9,448.65
You save:  KSh7,423.65
E£717.75
List Price:  E£3,349.02
You save:  E£2,631.27
ብር861.92
List Price:  ብር4,021.76
You save:  ብር3,159.83
Kz12,510.90
List Price:  Kz58,375.85
You save:  Kz45,864.95
CLP$14,262.15
List Price:  CLP$66,547.19
You save:  CLP$52,285.04
CN¥108.63
List Price:  CN¥506.87
You save:  CN¥398.24
RD$880.44
List Price:  RD$4,108.14
You save:  RD$3,227.70
DA2,016.43
List Price:  DA9,408.68
You save:  DA7,392.25
FJ$33.83
List Price:  FJ$157.85
You save:  FJ$124.02
Q116.80
List Price:  Q545.03
You save:  Q428.22
GY$3,141.98
List Price:  GY$14,660.48
You save:  GY$11,518.49
ISK kr2,103.60
List Price:  ISK kr9,815.39
You save:  ISK kr7,711.79
DH151.70
List Price:  DH707.84
You save:  DH556.14
L265.48
List Price:  L1,238.76
You save:  L973.27
ден861.69
List Price:  ден4,020.67
You save:  ден3,158.97
MOP$121.10
List Price:  MOP$565.05
You save:  MOP$443.95
N$283.35
List Price:  N$1,322.15
You save:  N$1,038.79
C$552.70
List Price:  C$2,578.94
You save:  C$2,026.23
रु2,002.28
List Price:  रु9,342.64
You save:  रु7,340.36
S/56.41
List Price:  S/263.24
You save:  S/206.82
K57.97
List Price:  K270.50
You save:  K212.52
SAR56.25
List Price:  SAR262.50
You save:  SAR206.24
ZK397.98
List Price:  ZK1,856.98
You save:  ZK1,459
L69.63
List Price:  L324.92
You save:  L255.29
Kč352.27
List Price:  Kč1,643.69
You save:  Kč1,291.42
Ft5,486.21
List Price:  Ft25,598.69
You save:  Ft20,112.47
SEK kr163.77
List Price:  SEK kr764.15
You save:  SEK kr600.38
ARS$13,121.32
List Price:  ARS$61,224.11
You save:  ARS$48,102.78
Bs104.15
List Price:  Bs485.98
You save:  Bs381.82
COP$59,389.48
List Price:  COP$277,111.33
You save:  COP$217,721.85
₡7,631.24
List Price:  ₡35,607.40
You save:  ₡27,976.15
L370.86
List Price:  L1,730.46
You save:  L1,359.59
₲111,824.77
List Price:  ₲521,774.38
You save:  ₲409,949.61
$U579.58
List Price:  $U2,704.33
You save:  $U2,124.75
zł60.52
List Price:  zł282.40
You save:  zł221.88
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.