-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
Improvements : Add custom urls, add open source libraries information #1
Comments
Hi @benju69, What do you mean by 'custom urls', because the current version supports custom url intents ? |
Yes! I always credit all the third-party libraries I use on my apps on the About page, it's the least we can do for those developers. And this project is actually a perfect example. It's open-source and we can't even credit it properly. Please consider this issue for a future version. |
Okay Guys, Well To mention
You could easily add a row If you'd like to stick with my library, you could also archieve the same result by doing something like : AboutPage aboutPage = new AboutPage(this);
aboutPage.addGroup("Open Source libraries");
HashMap<String, String> librariesList = new HashMap<>();
librariesList.put("Fancy Buttons", "https://github.com/medyo/Fancybuttons");
librariesList.put("Once", "https://github.com/jonfinerty/Once");
librariesList.put("Android Iconics", "https://github.com/mikepenz/Android-Iconics");
for (Map.Entry<String, String> lib : librariesList.entrySet()) {
Element libElement = new Element();
libElement.setTitle(lib.getKey());
Intent libIntent = new Intent(Intent.ACTION_VIEW,Uri.parse(lib.getValue()));
libElement.setIntent(libIntent);
aboutPage.addItem(libElement);
}
View viewAboutPage = aboutPage.create(); |
I'll close this issue, if you've any other questions, just reopen Thanks |
Ok cool :) Thanks for the example |
No description provided.
The text was updated successfully, but these errors were encountered: