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.v4.widget.NestedScrollView | |
android:id="@+id/nestedScrollView" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:isScrollContainer="true" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_gravity="fill_vertical" | |
android:fillViewport="true" |
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
{ | |
"nickname":"haha", | |
"attack":60, | |
"phone":"+551966666465", | |
"email":"hahaha@ha.ha", | |
"gender":"M", | |
"defense":40, | |
"position":"CDM", | |
"smsCode":"5678", | |
"fullName":"Hahahaha", |
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
{ | |
"acessCode":"5878", | |
"bookingType":1, | |
"phone":"+5519981737172", | |
"date":"\/Date(1513216800000)\/", | |
"startTime":"18:30", | |
"billingDate":"5", | |
"duration":60, | |
"objectID":"c3d9ced4-f927-e611-80c3-00155dff1eba" | |
} |
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
{ | |
"date":"2017-12-21", | |
"duration":60, | |
"billingDate":"5", | |
"phone":"+5519981737172", | |
"bookingType":1, | |
"acessCode":"7883", | |
"startTime":"18:00", | |
"objectID":"223bf110-20dc-e611-80c3-000d3a70cb8d" | |
} |
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
@Component(modules = [RepositoryModule::class]) | |
interface LanchoneteComponent { | |
fun inject(app: MainActivity) | |
} |
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
public static void identifyUser(Context context, Activity activity, String email, String fullName, String nickName, String phone, String level){ | |
MixpanelAPI mixpanel = MixpanelAPI.getInstance(context, MIXPANEL_TOKEN); | |
mixpanel.getPeople().identify(App.connectionId); | |
mixpanel.getPeople().set(ANALYTICS_EMAIL, email); | |
mixpanel.getPeople().set(ANALYTICS_FULLNAME_MIXPANEL, fullName); | |
mixpanel.getPeople().set(ANALYTICS_NICKNAME, nickName); | |
mixpanel.getPeople().set(ANALYTICS_PHONE, phone); | |
mixpanel.getPeople().set(ANALYTICS_LEVEL, level); | |
} |
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="wrap_content" | |
tools:context=".MainActivity" | |
android:background="@color/mirage" | |
android:padding="16dp"> |
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
<ImageView | |
android:id="@+id/comment" | |
android:layout_width="21dp" | |
android:layout_height="21dp" | |
android:layout_marginTop="12dp" | |
android:src="@drawable/ic_comment" | |
android:tint="@color/gray"/> |
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
<de.hdodenhof.circleimageview.CircleImageView | |
android:id="@+id/profile_image" | |
android:layout_width="50dp" | |
android:layout_height="50dp" | |
android:layout_marginTop="8dp" | |
android:src="@drawable/profile_image"/> |
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
<android.support.constraint.Group | |
android:id="@+id/group_retweet" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:constraint_referenced_ids="retweet_top, retweet_user"/> |