This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// retrofit dependency | |
implementation 'com.squareup.retrofit2:retrofit:2.9.0' | |
implementation 'com.google.code.gson:gson:2.10.1' | |
implementation "com.squareup.retrofit2:converter-gson:2.9.0" | |
// coroutines | |
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4") | |
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4' | |
// lifecycle | |
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1" | |
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Firebase Authentication : login and signup code. | |
public class customer_login extends AppCompatActivity { | |
private EditText cust_email; | |
private EditText cust_pass; | |
private Button login_btn; | |
private Button signup_btn; | |
private FirebaseAuth mAuth; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Note: Using Python 2 may result in unicode errors | |
''' | |
import sys | |
import requests | |
from bs4 import BeautifulSoup as bs | |
url = "https://www.dictionary.com/browse/" |