Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
deeppp15 committed Oct 15, 2024
1 parent 669c36b commit 334d5e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class AddExaminationActivity : AppCompatActivity(), CompoundButton.OnCheckedChan

if (pojo != null && !TextUtils.isEmpty(pojo?.data)) {
health = Gson().fromJson(decrypt(pojo?.data, user?.key, user?.iv), RealmMyHealth::class.java)
Log.d("4597", user?.key+": key: decrypted pojo from : "+health?.toString())
}
if (health == null) {
initHealth()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ class MyHealthFragment : Fragment() {
fragmentVitalSignBinding.txtEmail.text = Utilities.checkNA(userModel?.email!!)
fragmentVitalSignBinding.txtLanguage.text = Utilities.checkNA(userModel?.language!!)
fragmentVitalSignBinding.txtDob.text = Utilities.checkNA(userModel?.dob!!)
Log.d("4597","searching for user ID: "+userId)
Log.d("4597","searching for user model: "+userModel?.toString())
var mh = mRealm.where(RealmMyHealthPojo::class.java).equalTo("_id", userId).findFirst()
Log.d("4597","Eg RealmyHealthPojo: "+mRealm.where(RealmMyHealthPojo::class.java).findFirst())

if (mh == null) {
mh = mRealm.where(RealmMyHealthPojo::class.java).equalTo("_id", userId).findFirst()
}
Expand Down

0 comments on commit 334d5e7

Please sign in to comment.