Skip to content

AC-777 Migrated Intro package to kotlin#756

Merged
f4ww4z merged 2 commits intoopenmrs:masterfrom
rishabh-997:AC-777-IntroKotlin
Jun 12, 2020
Merged

AC-777 Migrated Intro package to kotlin#756
f4ww4z merged 2 commits intoopenmrs:masterfrom
rishabh-997:AC-777-IntroKotlin

Conversation

@rishabh-997
Copy link
Collaborator

Description of what I changed

Issue I worked on

JIRA Issue: https://issues.openmrs.org/browse/AC-777

Checklist: I completed these to help reviewers :)

  • My pull request only contains ONE single commit
    (the number above, next to the 'Commits' tab is 1).
  • I have added tests to cover my changes. (If you refactored
    existing code that was well tested you do not have to add tests)
  • All new and existing tests passed.
  • My pull request is based on the latest changes of the master branch.

@codecov-commenter
Copy link

codecov-commenter commented Jun 10, 2020

Codecov Report

Merging #756 into master will increase coverage by 0.03%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #756      +/-   ##
==========================================
+ Coverage   11.71%   11.74%   +0.03%     
==========================================
  Files         249      249              
  Lines       10784    10753      -31     
  Branches     1032     1033       +1     
==========================================
  Hits         1263     1263              
+ Misses       9438     9407      -31     
  Partials       83       83              
Impacted Files Coverage Δ
...rs/mobile/activities/introduction/IntroActivity.kt 0.00% <0.00%> (ø)
...s/mobile/activities/introduction/SplashActivity.kt 0.00% <0.00%> (ø)
...n/java/org/openmrs/mobile/utilities/ToastUtil.java 2.63% <0.00%> (-0.23%) ⬇️
...obile/activities/dashboard/DashboardPresenter.java
...mobile/activities/dashboard/DashboardActivity.java
...mobile/activities/dashboard/DashboardFragment.java
...s/mobile/activities/dashboard/DashboardFragment.kt 0.00% <0.00%> (ø)
...s/mobile/activities/dashboard/DashboardActivity.kt 0.00% <0.00%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb77970...e922f96. Read the comment docs.

Copy link
Collaborator

@f4ww4z f4ww4z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rishabh-997 Just need you to make small changes.

val intent = Intent(this@SplashActivity, IntroActivity::class.java)
startActivity(intent)
finish()
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rishabh-997 can we initialize the mRunnable at the declaration itself rather than using null to initialize it?

private val mHandler = Handler()
private var mRunnable: Runnable? = null
private lateinit var binding: ActivitySplashBinding

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reformatting needed I think @rishabh-997 .

Copy link
Collaborator

@f4ww4z f4ww4z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work @rishabh-997

@f4ww4z f4ww4z merged commit 54187c2 into openmrs:master Jun 12, 2020
@rishabh-997 rishabh-997 deleted the AC-777-IntroKotlin branch June 12, 2020 18:14
@dino-saurabh
Copy link
Collaborator

@rishabh-997 it generates a type mismatch warning can you look it up?

@rishabh-997
Copy link
Collaborator Author

sure, will see if it comes up in my case and resolve it in any one of the kotlij related PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants