Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AC-776 Migrated Logs activity to kotlin #766

Merged
merged 2 commits into from
Jun 19, 2020

Conversation

rishabh-997
Copy link
Collaborator

Description of what I changed

Issue I worked on

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

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 14, 2020

Codecov Report

Merging #766 into master will increase coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #766      +/-   ##
==========================================
+ Coverage   11.72%   11.73%   +0.01%     
==========================================
  Files         249      249              
  Lines       10770    10759      -11     
  Branches     1036     1036              
==========================================
  Hits         1263     1263              
+ Misses       9424     9413      -11     
  Partials       83       83              
Impacted Files Coverage Δ
...org/openmrs/mobile/activities/logs/LogsActivity.kt 0.00% <0.00%> (ø)
...org/openmrs/mobile/activities/logs/LogsFragment.kt 0.00% <0.00%> (ø)
...rg/openmrs/mobile/activities/logs/LogsPresenter.kt 0.00% <0.00%> (ø)

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 54187c2...d57c289. Read the comment docs.


private lateinit var _binding: FragmentLogsBinding

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?,
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 do away with the underscore is it necessary ??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It is a practice followed in kotlin where unused variables are marked as _... As suggested by Android Studio

Copy link
Collaborator

Choose a reason for hiding this comment

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

Okay @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 87e2a95 into openmrs:master Jun 19, 2020
@rishabh-997 rishabh-997 deleted the LogActivityKotlin branch July 14, 2020 17:22
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.

4 participants