robotoworks / mechanoid

Eclipse plugin providing a set of DSL's for the rapid development of Android apps
58 stars 26 forks source link

[MECHDB] make Uri Matcher ids protected not private #162

Closed bsagal closed 11 years ago

bsagal commented 11 years ago

I see the ids used by the Uri matcher are private, and so is the matcher its self. I think it would be an improvement to make them protected and to provide a protected access method for the mather, sumthing like:

    protected int getUriId(Uri uri) {
        return mUriMatcher.match(uri);
    }

This would be useful for the following use cases:

Thank you