-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from mavinii/nav_view
First pull request
- Loading branch information
Showing
16 changed files
with
193 additions
and
143 deletions.
There are no files selected for viewing
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
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
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
20 changes: 11 additions & 9 deletions
20
app/src/main/java/com/marcosoliveira/myshopapp/models/User.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
package com.marcosoliveira.myshopapp.models | ||
|
||
import android.os.Parcelable | ||
import kotlinx.android.parcel.Parcelize | ||
import kotlinx.parcelize.Parcelize | ||
|
||
// all inf that is going to be stored on Firebase | ||
// Parcelize can send some information to the UserActivity | ||
@Parcelize | ||
data class User ( | ||
val id: String = "", | ||
val firstName: String? = "", | ||
val lastName: String? = "", | ||
val email: String? = "", | ||
val phone: String? = "", | ||
val address: String? = "", | ||
val city: String? = "", | ||
val state: String? = "", | ||
val zipCode: String? = "" | ||
val firstName: String = "", | ||
val lastName: String = "", | ||
val email: String = "", | ||
val phone: String = "+353 ", | ||
val address: String = "", | ||
val city: String = "", | ||
val state: String = "", | ||
val zipCode: String = "", | ||
val profileCompleted: Int = 0 | ||
): Parcelable |
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
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
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
Oops, something went wrong.