app/src/main/java/fr/free/nrw/commons/category/CategoryDetailsActivity.java
public static void startYourself(Context context, String categoryName) {
        Intent intent = new Intent(context, CategoryDetailsActivity.class);
        intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
        intent.putExtra("categoryName", categoryName);
        context.startActivity(intent);
    }
/**
     * Consumers should be simply using this method to use this activity.
     * @param context  A Context of the application package implementing this class.
     * @param categoryName Name of the category for displaying its details
     */
Consumers should be simply using this method to use this activity.
@param context  A Context of the application package implementing this class.
@param categoryName Name of the category for displaying its details
Consumers should be simply using this method to use this activity . @param context A Context of the application package implementing this class . @param categoryName Name of the category for displaying its details
public static void startYourself(Context context, String categoryName) {
        Intent intent = new Intent(context, CategoryDetailsActivity.class);
        intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
        intent.putExtra("categoryName", categoryName);
        context.startActivity(intent);
    }
public static void startYourself ( Context context , String categoryName ) { Intent intent = new Intent ( context , CategoryDetailsActivity . class ) ; intent . addFlags ( Intent . FLAG_ACTIVITY_REORDER_TO_FRONT ) ; intent . putExtra ( "categoryName" , categoryName ) ; context . startActivity ( intent ) ; }
Consumers should be simply using this method to use this activity.
Consumers should be simply using this method to use this activity .