Skip to content

Optional injection #5

@kmalmur

Description

@kmalmur

It would be very convinient to have a possiblility to delclare an optional View, for example:

[InjectOptionalView(Resource.Id.view_id)] 
private View _lastLogView;

One of the cases where it is needed is when you have an alternative layout for tablets. Some views on tablet version may not exist and right now Cheeseknife.Inject(this) throws an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions