1.0 Class project Notes.pptx - Zalego Courses App Notes...

This preview shows page 1 - 18 out of 54 pages.

Zalego Courses AppNotes
Creating packagesCreating models,adapters,network,storage,auth packagesRight click on yourproject package name,clickNewthenpackage,entermodelsas newpackage nameRepeat the same process creating other packages
Adding Required DependenciesAdd the following lines inside your app level build.gradle file.implementation 'androidx.recyclerview:recyclerview:1.0.0'implementation 'com.github.bumptech.glide:glide:4.2.0'implementation 'androidx.cardview:cardview:1.0.0‘implementation 'com.afollestad.material-dialogs:core:0.9.5.0'implementation 'com.android.volley:volley:1.1.0‘Now sync your project
Adding Internet permissionsWe need internet connection to be able toregisterand loadcoarsesfrom ourapi.In our manifest.xml fileadd the following code below thepackage name<uses-permissionandroid:name="android.permission.INTERNET"/>
Creating Interfaces
Activity_registration.xmlInsideauthpackage createRegistrationActivityactivityRight click onauthpackage,click onNew>Activity>EmptyActivityOn activity name field enterRegistrationActivity.
Activity_registration.xml code
Activity_login.xml

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 54 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
N/A

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture