I hereby claim:
- I am dphans on github.
- I am dphans (https://keybase.io/dphans) on keybase.
- I have a public key ASDEy5TidGRxHLeBpHFnS5D8Sk5SSsp4GEHBdDSjDoLOlgo
To claim this, I am signing this object:
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
# A list of available STUN server. | |
stun.l.google.com:19302 | |
stun1.l.google.com:19302 | |
stun2.l.google.com:19302 | |
stun3.l.google.com:19302 | |
stun4.l.google.com:19302 | |
stun01.sipphone.com | |
stun.ekiga.net |
package com.dinophan.authapp.ui.activities | |
import com.dinophan.authapp.R | |
import com.dinophan.authapp.bases.BaseActivity | |
import com.dinophan.authapp.databinding.ActivityMainBinding | |
class MainActivity : BaseActivity<ActivityMainBinding>(R.layout.activity_main) { | |
override fun onActivityCreated(dataBinder: ActivityMainBinding) { |
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android"> | |
<data> | |
<import type="android.view.View"/> | |
<variable name="isFormValidated" type="Boolean" /> | |
<variable name="isFormSubmitting" type="Boolean" /> | |
<variable name="isRegisterationState" type="Boolean" /> | |
</data> | |
<LinearLayout | |
android:orientation="vertical" |
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android"> | |
<data> | |
</data> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:padding="16dp"> |
package com.dinophan.authapp.bases | |
import com.google.gson.Gson | |
import com.google.gson.annotations.Expose | |
import com.google.gson.annotations.SerializedName | |
import java.io.Serializable | |
@Suppress("MemberVisibilityCanBePrivate", "RedundantVisibilityModifier") | |
abstract class BaseModel: Serializable { |
package com.dinophan.authapp.models | |
import com.dinophan.authapp.bases.BaseModel | |
class UserModel: BaseModel() { | |
var username: String = String() | |
var password: String = String() | |
override fun validates(): Boolean { |
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android"> | |
<data> | |
<import type="android.view.View"/> | |
<variable name="isFormValidated" type="Boolean" /> | |
<variable name="isFormSubmitting" type="Boolean" /> | |
<variable name="isRegisterationState" type="Boolean" /> | |
<variable name="formErrorMessage" type="String" /> | |
<variable name="presenter" type="com.dinophan.authapp.ui.activities.MainActivity.Presenter" /> | |
</data> |
package com.dinophan.authapp.ui.activities | |
import android.view.View | |
import com.dinophan.authapp.R | |
import com.dinophan.authapp.bases.BaseActivity | |
import com.dinophan.authapp.databinding.ActivityMainBinding | |
import com.dinophan.authapp.models.UserModel | |
import com.dinophan.authapp.modules.mock.APIMock | |
import io.reactivex.Observable | |
import io.reactivex.android.schedulers.AndroidSchedulers |
package com.dinophan.authapp.ui.activities | |
import android.view.View | |
import com.dinophan.authapp.R | |
import com.dinophan.authapp.bases.BaseActivity | |
import com.dinophan.authapp.databinding.ActivityMainBinding | |
import com.dinophan.authapp.models.UserModel | |
import com.dinophan.authapp.modules.mock.APIMock | |
import io.reactivex.Observable | |
import io.reactivex.android.schedulers.AndroidSchedulers |
I hereby claim:
To claim this, I am signing this object: