MCPcopy Create free account

hub / github.com/clayallsopp/routable-android / functions

Functions45 in github.com/clayallsopp/routable-android

↓ 12 callersMethodmap
Map a URL to a callback @param format The URL being mapped; for example, "users/:id" or "groups/:id/topics/:topic_id" @param callback {@link RouterCal
src/com/usepropeller/routable/Router.java:189
↓ 10 callersMethodgetExtras
Returns the extras supplied with the route
src/com/usepropeller/routable/Router.java:85
↓ 10 callersMethodintentFor
@param url The URL; for example, "users/16" or "groups/5/topics/20" @return The {@link Intent} for the url
src/com/usepropeller/routable/Router.java:350
↓ 6 callersMethodopen
Open a map'd URL set using {@link #map(String, Class)} or {@link #map(String, RouterCallback)} @param url The URL; for example, "users/16" or "groups/
src/com/usepropeller/routable/Router.java:283
↓ 4 callersMethodgetCallback
()
src/com/usepropeller/routable/Router.java:128
↓ 4 callersMethodgetContext
@return The context for the router
src/com/usepropeller/routable/Router.java:180
↓ 4 callersMethodparamsForUrl
(String url)
src/com/usepropeller/routable/Router.java:408
↓ 4 callersMethodsharedRouter
A globally accessible Router instance that will work for most use cases.
src/com/usepropeller/routable/Router.java:51
↓ 3 callersMethodsetOpenClass
(Class<? extends Activity> klass)
src/com/usepropeller/routable/Router.java:120
↓ 2 callersMethodaddFlagsToIntent
(Intent intent, Context context)
src/com/usepropeller/routable/Router.java:340
↓ 2 callersMethodcleanUrl
Clean up url @param url @return cleaned url
src/com/usepropeller/routable/Router.java:487
↓ 2 callersMethodgetDefaultParams
()
src/com/usepropeller/routable/Router.java:140
↓ 2 callersMethodgetRootUrl
@return The router's root URL, or null.
src/com/usepropeller/routable/Router.java:229
↓ 2 callersMethodsetDefaultParams
(Map<String, String> defaultParams)
src/com/usepropeller/routable/Router.java:136
↓ 1 callersMethodgetOpenClass
()
src/com/usepropeller/routable/Router.java:124
↓ 1 callersMethodgetParams
Returns the route parameters as specified by the configured route
src/com/usepropeller/routable/Router.java:80
↓ 1 callersMethodrun
(RouteContext context)
src/com/usepropeller/routable/Router.java:60
↓ 1 callersMethodsetCallback
(RouterCallback callback)
src/com/usepropeller/routable/Router.java:132
↓ 1 callersMethodsetContext
@param context {@link Context} that all {@link Intent}s generated by the router will use
src/com/usepropeller/routable/Router.java:173
↓ 1 callersMethodurlToParamsMap
@param givenUrlSegments An array representing the URL path attempting to be opened (i.e. ["users", "42"]) @param routerUrlSegments An array representi
src/com/usepropeller/routable/Router.java:462
MethodContextNotProvided
(String message)
src/com/usepropeller/routable/Router.java:511
MethodRouteContext
(Map<String, String> params, Bundle extras, Context context)
src/com/usepropeller/routable/Router.java:71
MethodRouteNotFoundException
(String message)
src/com/usepropeller/routable/Router.java:500
MethodRouter
Creates a new Router
src/com/usepropeller/routable/Router.java:158
MethodRouterOptions
()
src/com/usepropeller/routable/Router.java:103
MethodgetContext
Returns the Android Context that should be used to open the route
src/com/usepropeller/routable/Router.java:90
MethodisCallbackUrl
@param url The URL to check @return Whether or not the URL refers to an anonymous callback function
src/com/usepropeller/routable/Router.java:374
MethodonCreate
(Bundle savedInstanceState)
src/com/usepropeller/routable/RouterActivity.java:9
MethodopenExternal
Open a URL using the operating system's configuration (such as opening a link to Chrome or a video to YouTube) @param url The URL; for example, "http:
src/com/usepropeller/routable/Router.java:237
Methodrun
(Router.RouteContext context)
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:76
MethodsetRootUrl
Set the root url; used when opening an activity or callback via RouterActivity @param rootUrl The URL format to use as the root
src/com/usepropeller/routable/Router.java:222
MethodsetUp
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:17
Methodtest_basic
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:24
Methodtest_code_callbacks
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:73
Methodtest_code_callbacks_with_extras
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:104
Methodtest_code_callbacks_with_params
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:89
Methodtest_empty
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:32
Methodtest_invalid_context
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:56
Methodtest_invalid_route
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:40
Methodtest_url_containing_spaces
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:141
Methodtest_url_querystring
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:130
Methodtest_url_querystring_with_encoded_value
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:151
Methodtest_url_querystring_without_value
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:162
Methodtest_url_starting_with_slash
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:122
Methodtest_url_starting_with_slash_with_params
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:172