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

Convert adapter view package to Kotlin #179

Merged
merged 9 commits into from
Oct 7, 2019

Conversation

Rapbong
Copy link
Contributor

@Rapbong Rapbong commented Oct 1, 2019

Fixes issue #.

N/A

This PR changes:

Next classes are converted from Java to Kotlin

  • AlbumListAdapter
  • DetailViewPagerAdapter

Add kotlin android extensions

  • build.gradle
Verified

Target Device - LG G7

@sangcomz sangcomz self-requested a review October 1, 2019 13:34
Travis CI doesn't create Javadoc when compiling Kotlin
Therefore, add the gradle configuration to skip Javadoc to avoid this issue.
Copy link
Owner

@sangcomz sangcomz left a comment

Choose a reason for hiding this comment

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

3 code reviews left. Please check. Thank you :)

build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
findViewByID method should be called on onCreateViewHolder for
performance.
Therefore, ViewHolder class has view variable and these are initialized
on constructor
PicassoAdapter isn't imported in some source codes.
Therefore I add import code to solve the build error
@codecov
Copy link

codecov bot commented Oct 6, 2019

Codecov Report

Merging #179 into develop will increase coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop    #179      +/-   ##
==========================================
+ Coverage     0.11%   0.12%   +<.01%     
==========================================
  Files           31      31              
  Lines         1667    1647      -20     
  Branches       198     198              
==========================================
  Hits             2       2              
+ Misses        1665    1645      -20
Impacted Files Coverage Δ
.../sangcomz/fishbun/adapter/view/AlbumListAdapter.kt 0% <0%> (ø)
...omz/fishbun/adapter/view/DetailViewPagerAdapter.kt 0% <0%> (ø)

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 66c946b...86f01e4. Read the comment docs.

@sangcomz
Copy link
Owner

sangcomz commented Oct 7, 2019

After merging the other PR, there was an overlap.
I'm sorry. Please resolve two conflicts. @Rapbong

@Rapbong
Copy link
Contributor Author

Rapbong commented Oct 7, 2019

Some codes were reverted from kotlin to java such as AlbumListAdapter and DetailViewPagerAdapter.
I will solve conflicts.

@sangcomz sangcomz merged commit 53dd89f into sangcomz:develop Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants