Exemplo n.º 1
0
 protected final URLFactory.Builder newListResourceURL() {
   return mUrlfactory.newURL().setResource(mResourceType.getPluralName());
 }
Exemplo n.º 2
0
 protected final URLFactory.Builder newDetailResourceURL(int resourceId) {
   return mUrlfactory
       .newURL()
       .setResource(mResourceType.getSingularName(), mResourceType.getId(), resourceId);
 }