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
class MyName: | |
my_name = "Sunil gupta" | |
def __init__(self, name): | |
print("This is the constructor.") | |
self.name = name | |
def getName(self): | |
# Reference the name | |
print(self.name + " is here.") |
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
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="#ffffff"> | |
<EditText | |
android:id="@+id/field_phone_number" |
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
import android.content.ContentValues; | |
import android.database.Cursor; | |
/** | |
* Created by sunil on 3/11/2017. | |
*/ | |
public class Article { | |
public static final String TABLE_NAME = "Article"; |
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
package com.sunil.rxretrofitapp; | |
import android.app.Application; | |
import android.content.Context; | |
import com.crashlytics.android.Crashlytics; | |
import com.sunil.rxretrofitapp.injection.component.ApplicationComponent; | |
import com.sunil.rxretrofitapp.injection.component.DaggerApplicationComponent; | |
import com.sunil.rxretrofitapp.injection.module.ApplicationModule; | |