Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BijoySingh/AndroidBasicsLibrary
/ functions
Functions
321 in github.com/BijoySingh/AndroidBasicsLibrary
⨍
Functions
321
◇
Types & classes
53
↓ 47 callers
Method
get
(Context context)
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:61
↓ 36 callers
Method
put
Saves the data into the storage @param key the key @param value the value to store
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:91
↓ 28 callers
Method
log
(String state, String value)
sampleapp/src/main/java/com/bsk/sampleapp/DataStoreActivity.java:194
↓ 20 callers
Method
put
Saves the data into the storage @param key the key @param value the value to store
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:103
↓ 17 callers
Method
get
Get the DataStore synchronously @param context the application context @return instance of DataStore
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:44
↓ 14 callers
Method
writeOnUIThread
(final String content)
sampleapp/src/main/java/com/bsk/sampleapp/StoreActivity.java:136
↓ 13 callers
Method
findViewById
The findViewById from the root view. @param resourceId the resource id of the layout @return the view
android-basics/src/main/java/com/github/bijoysingh/starter/fragments/SimpleFragment.java:54
↓ 12 callers
Method
readCache
(Store store, boolean expectContent)
sampleapp/src/main/java/com/bsk/sampleapp/StoreActivity.java:154
↓ 11 callers
Method
toString
(String format, Object object)
android-basics/src/main/java/com/github/bijoysingh/starter/util/LocaleManager.java:11
↓ 9 callers
Method
clear
()
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:238
↓ 8 callers
Method
getContext
Returns the context object @return the application/activity context
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/RecyclerViewHolder.java:43
↓ 8 callers
Method
sleep
()
sampleapp/src/main/java/com/bsk/sampleapp/DataStoreActivity.java:201
↓ 8 callers
Method
startActivity
Start an activity intent @param context the context @param activity the class of the activity @param <T> class which must extend activity
android-basics/src/main/java/com/github/bijoysingh/starter/util/IntentUtils.java:21
↓ 7 callers
Method
putAndWrite
Saves the data into the storage @param key the key @param value the value to store
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:161
↓ 7 callers
Method
remove
(String key)
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:257
↓ 7 callers
Method
setText
Set the Text of the share intent @param text the text @return the builder
android-basics/src/main/java/com/github/bijoysingh/starter/util/IntentUtils.java:87
↓ 7 callers
Method
verifyData
(DataStore store)
sampleapp/src/main/java/com/bsk/sampleapp/DataStoreActivity.java:156
↓ 7 callers
Method
write
It store the file data into the file given by the filename at the root level @param context the activity context @param filename the filename to sto
android-basics/src/main/java/com/github/bijoysingh/starter/util/FileManager.java:52
↓ 6 callers
Method
getCache
Get the cache filename of the query @return the cache file
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryParams.java:200
↓ 6 callers
Method
getDefaultFormat
()
android-basics/src/main/java/com/github/bijoysingh/starter/util/DateFormatter.java:43
↓ 6 callers
Method
getPreferencesFolder
()
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/PreferenceManager.java:25
↓ 6 callers
Method
has
Tell if it has the key @param key the key @return has the key
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:81
↓ 6 callers
Method
putSafe
Puts the content with exception safety @param key the key @param value the value
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:229
↓ 4 callers
Method
executeNow
Executes this runnable (immediately if possible) @param runnable the runnable
android-basics/src/main/java/com/github/bijoysingh/starter/async/SimpleThreadExecutor.java:52
↓ 4 callers
Method
get
(Context context, String storeName, int versionNumber)
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/VersionedStore.java:18
↓ 4 callers
Method
loadData
(DataStore store)
sampleapp/src/main/java/com/bsk/sampleapp/DataStoreActivity.java:147
↓ 4 callers
Method
reset
Clears all the static objects. NOTE: Use carefully, ideally you shouldn't need to use this in production applications
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:272
↓ 4 callers
Method
submit
(Callable<T> callable)
android-basics/src/main/java/com/github/bijoysingh/starter/async/SimpleThreadExecutor.java:70
↓ 3 callers
Method
addTextView
(String text)
sampleapp/src/main/java/com/bsk/sampleapp/TestStoreVsDataStore.java:129
↓ 3 callers
Method
destroy
()
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:248
↓ 3 callers
Method
empty
Removes the entire data store
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:256
↓ 3 callers
Method
execute
(final Activity activity, final Task<T> task)
android-basics/src/main/java/com/github/bijoysingh/starter/async/MultiAsyncTask.java:17
↓ 3 callers
Method
getSecureRandom
Get the secure random object @return the object
android-basics/src/main/java/com/github/bijoysingh/starter/util/RandomHelper.java:59
↓ 3 callers
Method
keys
()
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:253
↓ 3 callers
Method
notifyText
()
sampleapp/src/main/java/com/bsk/sampleapp/DataStoreActivity.java:54
↓ 3 callers
Method
read
Reads the data stored in the file given by the filename at the root level @param context the activity context @param filename the name of the filena
android-basics/src/main/java/com/github/bijoysingh/starter/util/FileManager.java:63
↓ 3 callers
Method
run
()
android-basics/src/main/java/com/github/bijoysingh/starter/async/MultiAsyncTask.java:50
↓ 3 callers
Method
show
Show a toast string @param toast the toast string
android-basics/src/main/java/com/github/bijoysingh/starter/util/ToastHelper.java:28
↓ 2 callers
Method
addTextView
(String text)
sampleapp/src/main/java/com/bsk/sampleapp/AsyncActivity.java:76
↓ 2 callers
Method
clearSync
()
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:243
↓ 2 callers
Method
execute
Execute all the runnables added till now.
android-basics/src/main/java/com/github/bijoysingh/starter/async/SimpleThreadExecutor.java:62
↓ 2 callers
Method
findViewById
(int id)
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/RecyclerViewHolder.java:47
↓ 2 callers
Method
flush
Writes the data into file
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:320
↓ 2 callers
Method
getAuthenticated
Gets if the query is authenticated @return is query authenticated
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryParams.java:218
↓ 2 callers
Method
getAuthenticationData
The header information which you wish to send when a request is authenticated @return the extra header key-value pairs
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryExecutor.java:164
↓ 2 callers
Method
getAuthenticationData
Returns the authentication data for the query @return the map key value pair
android-basics/src/main/java/com/github/bijoysingh/starter/server/DefaultQueryExecutor.java:118
↓ 2 callers
Method
getBoolean
(String name)
android-basics/src/main/java/com/github/bijoysingh/starter/json/SafeJson.java:65
↓ 2 callers
Method
getDouble
(String name)
android-basics/src/main/java/com/github/bijoysingh/starter/json/SafeJson.java:60
↓ 2 callers
Method
getExecutor
()
android-basics/src/main/java/com/github/bijoysingh/starter/async/MultiAsyncTask.java:12
↓ 2 callers
Method
getFilename
The filename to store the content @return the filename
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:83
↓ 2 callers
Method
getHolderClass
()
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/MultiRecyclerViewControllerItem.java:44
↓ 2 callers
Method
getInt
(String name)
android-basics/src/main/java/com/github/bijoysingh/starter/json/SafeJson.java:55
↓ 2 callers
Method
getItemViewType
(int position)
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/MultiRecyclerViewAdapter.java:133
↓ 2 callers
Method
getItems
Returns the items of the list @return contents
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/MultiRecyclerViewAdapter.java:169
↓ 2 callers
Method
getItems
Returns the items of the list @return contents
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/RecyclerViewAdapter.java:123
↓ 2 callers
Method
getMethod
Get the query method @return the method
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryParams.java:227
↓ 2 callers
Method
getMissingPermissions
Returns a list of missing permissions @return the list permissions which the app does not have
android-basics/src/main/java/com/github/bijoysingh/starter/util/PermissionManager.java:67
↓ 2 callers
Method
getString
(String name)
android-basics/src/main/java/com/github/bijoysingh/starter/json/SafeJson.java:45
↓ 2 callers
Method
getTimeoutMillis
@return Timeout milliseconds
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryExecutor.java:119
↓ 2 callers
Method
getUrl
Get the url of the query @return the url
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryParams.java:191
↓ 2 callers
Method
handle
(T result)
android-basics/src/main/java/com/github/bijoysingh/starter/async/MultiAsyncTask.java:52
↓ 2 callers
Method
heavyOperation
(int value)
sampleapp/src/main/java/com/bsk/sampleapp/AsyncActivity.java:67
↓ 2 callers
Method
initStore
()
sampleapp/src/main/java/com/bsk/sampleapp/StoreActivity.java:58
↓ 2 callers
Method
initialise
()
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:271
↓ 2 callers
Method
isNullOrEmpty
Is the String null or empty @param value the string to test @return is the string null or empty
android-basics/src/main/java/com/github/bijoysingh/starter/util/TextUtils.java:22
↓ 2 callers
Method
logEvent
(String event, long millis)
android-basics/src/main/java/com/github/bijoysingh/starter/util/SimpleProfiler.java:69
↓ 2 callers
Method
migrateToStore
(Store store)
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:304
↓ 2 callers
Method
onFail
Called when the query executes with an error @param queryParams the query parameters @param error the error object from the server/device
android-basics/src/main/java/com/github/bijoysingh/starter/server/DefaultQueryExecutor.java:106
↓ 2 callers
Method
onSuccess
Called when the query executes successfully @param queryParams the query parameters @param response the response from the server
android-basics/src/main/java/com/github/bijoysingh/starter/server/DefaultQueryExecutor.java:98
↓ 2 callers
Method
populate
Populate the recycler view with the data @param data the Item value
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/RecyclerViewHolder.java:36
↓ 2 callers
Method
readFromDisk
()
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/Store.java:275
↓ 2 callers
Method
setAdapter
Set the adapter @param adapter the recycler view adapter @return this instance
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/RecyclerViewBuilder.java:110
↓ 2 callers
Method
setDefaultNumberOfThreads
Sets the default number of threads
android-basics/src/main/java/com/github/bijoysingh/starter/async/Parallel.java:93
↓ 2 callers
Method
setLinear
Sets the recycler to linear @return this instance
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/RecyclerViewBuilder.java:80
↓ 2 callers
Method
setWriteSynchronous
(boolean writeSynchronous)
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:63
↓ 2 callers
Method
start
()
android-basics/src/main/java/com/github/bijoysingh/starter/util/SimpleProfiler.java:52
↓ 2 callers
Method
startWriting
(Store store)
sampleapp/src/main/java/com/bsk/sampleapp/StoreActivity.java:145
↓ 2 callers
Method
write
Write the contents into the storage
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:289
↓ 1 callers
Method
areEqual
Checks if two nullable strings are equal @param value1 first nullable value @param value2 second nullable value @return are the two String are equal
android-basics/src/main/java/com/github/bijoysingh/starter/util/TextUtils.java:33
↓ 1 callers
Method
build
Build the Query Param object @return object
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryParams.java:179
↓ 1 callers
Method
destroy
()
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:324
↓ 1 callers
Method
flushExistingData
()
sampleapp/src/main/java/com/bsk/sampleapp/DataStoreActivity.java:58
↓ 1 callers
Method
get
Gets the string value from the server based on the request @param queryParams the AccessItem instance
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryExecutor.java:142
↓ 1 callers
Method
getBackoffMultiplier
@return Backoff multiplier
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryExecutor.java:133
↓ 1 callers
Method
getDate
Convert the date to string @param unixTimestamp the timestamp @return the formatted timestamp
android-basics/src/main/java/com/github/bijoysingh/starter/util/DateFormatter.java:72
↓ 1 callers
Method
getFormat
()
android-basics/src/main/java/com/github/bijoysingh/starter/util/DateFormatter.java:38
↓ 1 callers
Method
getFuture
Get the DataStore synchronously @param context the application context @return instance of DataStore
android-basics/src/main/java/com/github/bijoysingh/starter/prefs/DataStore.java:53
↓ 1 callers
Method
getItemCount
()
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/RecyclerViewAdapter.java:113
↓ 1 callers
Method
getJsonRequest
Creates a volley JsonObjectRequest which will automatically call the handleSendResponse/Error functions based on situations and the various parameters
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryExecutor.java:41
↓ 1 callers
Method
getLayout
The layout which needs to be used for the dialog @return the layout resource id
android-basics/src/main/java/com/github/bijoysingh/starter/fragments/SimpleBottomSheetFragment.java:58
↓ 1 callers
Method
getLayoutFile
()
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/MultiRecyclerViewControllerItem.java:40
↓ 1 callers
Method
getLayoutId
The layout id of the fragment @return the layout id
android-basics/src/main/java/com/github/bijoysingh/starter/fragments/SimpleFragment.java:32
↓ 1 callers
Method
getLong
(String name)
android-basics/src/main/java/com/github/bijoysingh/starter/json/SafeJson.java:50
↓ 1 callers
Method
getMaxRetries
@return Maximum number of retries
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryExecutor.java:126
↓ 1 callers
Method
getPageFragment
The page fragment for the position @param position the position @return the fragment
android-basics/src/main/java/com/github/bijoysingh/starter/activity/ViewPagerActivity.java:38
↓ 1 callers
Method
getPagesCount
The pages count @return the count
android-basics/src/main/java/com/github/bijoysingh/starter/activity/ViewPagerActivity.java:30
↓ 1 callers
Method
getRandomString
Get a random string with a fixed length @param length the length of the string @return the String
android-basics/src/main/java/com/github/bijoysingh/starter/util/RandomHelper.java:28
↓ 1 callers
Method
getSpanSizeLookup
Gets the span size lookup for the items @return the span size lookup
android-basics/src/main/java/com/github/bijoysingh/starter/recyclerview/MultiRecyclerViewAdapter.java:122
↓ 1 callers
Method
getStringRequest
Creates a volley StringRequest which will automatically call the handleGetResponse/Error functions based on situations and the various parameters of t
android-basics/src/main/java/com/github/bijoysingh/starter/server/QueryExecutor.java:84
↓ 1 callers
Method
getViewPagerResourceId
The id of the view pager @return the view pager resource id
android-basics/src/main/java/com/github/bijoysingh/starter/activity/ViewPagerActivity.java:23
next →
1–100 of 321, ranked by callers