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

Support of custom views #15

Closed
bartoszostrowski opened this issue May 2, 2017 · 1 comment
Closed

Support of custom views #15

bartoszostrowski opened this issue May 2, 2017 · 1 comment

Comments

@bartoszostrowski
Copy link

I am trying to use LoaderViewLibrary in conjunction with custom TextViews and ImageViews, but encontered some issue - LoaderView interface accessibility (LoaderViewLibrary included via Gradle)

Do you have some experience with supporting custom views without need of "re-implementing" them?

Have you considered using LoaderView as layout encapsulating inner views? Similar to e.g.: https://github.com/traex/RippleEffect

@elye
Copy link
Owner

elye commented Jun 16, 2017

Hi @bartoszostrowski , you still can use ripple effect, just add this view into the a layout container, and had the layout had the ripple drawable as the background color of the layout container.

You could check this out as well on how to implement ripple.
https://stackoverflow.com/questions/27006288/how-to-create-ripple-effect-in-simple-layout

If you want to custom the view, you could do so by extending from LoaderTextView or LoaderImageView, then write your custom function there. These classes are open, so you could extend from them.

I'm closing this issue, unless you have further issue.

@elye elye closed this as completed Jun 16, 2017
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

No branches or pull requests

2 participants