Package 

Class VersionInfoUtils

    • Method Detail

      • getFormattedVersion

         static String getFormattedVersion(Context context, String version)

        Returns the formatted version. To be used outside the dialog fragment, for instancein activity or preference titles.

        Parameters:
        context - The almighty context
        version - The app's version
      • getFormattedVersion

         static String getFormattedVersion(Context context, String packageName, String version)

        Returns the formatted version. To be used outside the dialog fragment, for instancein activity or preference titles.

        Parameters:
        context - The almighty context
        packageName - The app's package name
        version - The app's version
      • getFormattedCopyright

         static String getFormattedCopyright(Context context, String owner)

        Returns the formatted copyright. To be used outside the dialog fragment, for instancein activity or preference titles.

        Parameters:
        context - The almighty context
        owner - The app onwer.
      • getFormattedCopyright

         static String getFormattedCopyright(Context context, String packageName, String owner)

        Returns the formatted copyright. To be used outside the dialog fragment, for instancein activity or preference titles.

        Parameters:
        context - The almighty context
        packageName - The app's package name
        owner - The app onwer.