Git Product home page Git Product logo

Comments (6)

medyo avatar medyo commented on September 28, 2024 3

Okay Guys,

Well android-about-page was made in a generic way to let developers the full freedom to plug whatever views they like.

To mention third-party libraries, there are many libraries solving exactly this point like :

You could easily add a row Open source libraries and point it the right activity which implement one of libraries mentioned above.

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();

Open Source Libraries

from android-about-page.

medyo avatar medyo commented on September 28, 2024

Hi @benju69,

What do you mean by 'custom urls', because the current version supports custom url intents ?

from android-about-page.

Souf-R avatar Souf-R commented on September 28, 2024

Hi @medyo

I think it would be better to use a list of pairs (library name, library URL) like the way Trello is doing it in its About page.
Is this what you mean @benju69 ?

from android-about-page.

rfgamaral avatar rfgamaral commented on September 28, 2024

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.

from android-about-page.

medyo avatar medyo commented on September 28, 2024

I'll close this issue, if you've any other questions, just reopen

Thanks

from android-about-page.

benju69 avatar benju69 commented on September 28, 2024

Ok cool :) Thanks for the example

from android-about-page.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.