Created
August 29, 2022 12:25
-
-
Save cp-hardik-p/3abf5e3082cec428527b14863ac8af98 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| suspend fun saveEmployeeInfo(eName: String, eDesignation: String) { | |
| context.employeeProtoDataStore.updateData { employeeData -> | |
| employeeData.toBuilder() | |
| .setEmpName(eName) | |
| .setEmpDesignation(eDesignation) | |
| .build() | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment