Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clayallsopp/routable-android
/ functions
Functions
45 in github.com/clayallsopp/routable-android
⨍
Functions
45
◇
Types & classes
9
↓ 12 callers
Method
map
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 callers
Method
getExtras
Returns the extras supplied with the route
src/com/usepropeller/routable/Router.java:85
↓ 10 callers
Method
intentFor
@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 callers
Method
open
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 callers
Method
getCallback
()
src/com/usepropeller/routable/Router.java:128
↓ 4 callers
Method
getContext
@return The context for the router
src/com/usepropeller/routable/Router.java:180
↓ 4 callers
Method
paramsForUrl
(String url)
src/com/usepropeller/routable/Router.java:408
↓ 4 callers
Method
sharedRouter
A globally accessible Router instance that will work for most use cases.
src/com/usepropeller/routable/Router.java:51
↓ 3 callers
Method
setOpenClass
(Class<? extends Activity> klass)
src/com/usepropeller/routable/Router.java:120
↓ 2 callers
Method
addFlagsToIntent
(Intent intent, Context context)
src/com/usepropeller/routable/Router.java:340
↓ 2 callers
Method
cleanUrl
Clean up url @param url @return cleaned url
src/com/usepropeller/routable/Router.java:487
↓ 2 callers
Method
getDefaultParams
()
src/com/usepropeller/routable/Router.java:140
↓ 2 callers
Method
getRootUrl
@return The router's root URL, or null.
src/com/usepropeller/routable/Router.java:229
↓ 2 callers
Method
setDefaultParams
(Map<String, String> defaultParams)
src/com/usepropeller/routable/Router.java:136
↓ 1 callers
Method
getOpenClass
()
src/com/usepropeller/routable/Router.java:124
↓ 1 callers
Method
getParams
Returns the route parameters as specified by the configured route
src/com/usepropeller/routable/Router.java:80
↓ 1 callers
Method
run
(RouteContext context)
src/com/usepropeller/routable/Router.java:60
↓ 1 callers
Method
setCallback
(RouterCallback callback)
src/com/usepropeller/routable/Router.java:132
↓ 1 callers
Method
setContext
@param context {@link Context} that all {@link Intent}s generated by the router will use
src/com/usepropeller/routable/Router.java:173
↓ 1 callers
Method
urlToParamsMap
@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
Method
ContextNotProvided
(String message)
src/com/usepropeller/routable/Router.java:511
Method
RouteContext
(Map<String, String> params, Bundle extras, Context context)
src/com/usepropeller/routable/Router.java:71
Method
RouteNotFoundException
(String message)
src/com/usepropeller/routable/Router.java:500
Method
Router
Creates a new Router
src/com/usepropeller/routable/Router.java:158
Method
RouterOptions
()
src/com/usepropeller/routable/Router.java:103
Method
getContext
Returns the Android Context that should be used to open the route
src/com/usepropeller/routable/Router.java:90
Method
isCallbackUrl
@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
Method
onCreate
(Bundle savedInstanceState)
src/com/usepropeller/routable/RouterActivity.java:9
Method
openExternal
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
Method
run
(Router.RouteContext context)
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:76
Method
setRootUrl
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
Method
setUp
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:17
Method
test_basic
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:24
Method
test_code_callbacks
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:73
Method
test_code_callbacks_with_extras
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:104
Method
test_code_callbacks_with_params
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:89
Method
test_empty
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:32
Method
test_invalid_context
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:56
Method
test_invalid_route
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:40
Method
test_url_containing_spaces
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:141
Method
test_url_querystring
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:130
Method
test_url_querystring_with_encoded_value
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:151
Method
test_url_querystring_without_value
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:162
Method
test_url_starting_with_slash
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:122
Method
test_url_starting_with_slash_with_params
()
RoutableTestTest/src/com/usepropeller/routable/test/RouterTest.java:172