Search in sources :

Example 11 with Library

use of com.mikepenz.aboutlibraries.entity.Library in project AboutLibraries by mikepenz.

the class Libs method addInternalLibrary.

private void addInternalLibrary(Context ctx, String internalIdentifier) {
    Library library = genLibrary(ctx, internalIdentifier);
    if (library != null) {
        library.setInternal(true);
        internLibraries.add(library);
    }
}
Also used : Library(com.mikepenz.aboutlibraries.entity.Library)

Aggregations

Library (com.mikepenz.aboutlibraries.entity.Library)11 ArrayList (java.util.ArrayList)6 License (com.mikepenz.aboutlibraries.entity.License)3 PackageInfo (android.content.pm.PackageInfo)2 Context (android.content.Context)1 SharedPreferences (android.content.SharedPreferences)1 PackageManager (android.content.pm.PackageManager)1 LibraryItem (com.mikepenz.aboutlibraries.ui.item.LibraryItem)1 FastAdapter (com.mikepenz.fastadapter.FastAdapter)1 ItemAdapter (com.mikepenz.fastadapter.adapters.ItemAdapter)1 HashMap (java.util.HashMap)1 Map (java.util.Map)1