Project

General

Profile

Anomalie #3694

EntityShowFragment, remove hardcoded string

Added by Erwan L. almost 6 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Gregg C.
Category:
Core
Target version:
Start date:
01/31/2014
Due date:
% Done:

100%

Estimated time:

Description

Remove hardcoded string form onClickEdit (maybe other place?)
In this sample, hardcoded is "Product" and must be replace by Product.PARCEL

    /**
     * Calls the ProductEditActivity.
     */
    @Override
    public void onClickEdit() {
        final Intent intent = new Intent(getActivity(), ProductEditActivity.class);
        Bundle extras = new Bundle();
        extras.putParcelable("Product", this.model);
        intent.putExtras(extras);

        this.getActivity().startActivity(intent);
    }


Recurrences

History

#3Updated by Gregg C. almost 6 years ago

Appliqué par commit origin|commit:de142906bb3e7e83ca90e691bd05be4da007b13d.

#4Updated by CI-Build . almost 6 years ago

Build 560 finished UNSTABLE from merge request !1536

Also available in: Atom PDF

Go to top
Add picture from clipboard (Maximum size: 200 MB)