import SearchBar from "react-native-dynamic-search-bar"
<SearchBar
fontColor="#c6c6c6"
iconColor="#c6c6c6"
shadowColor="#282828"
cancelIconColor="#c6c6c6"
backgroundColor="#353d5e"
placeholder="Search here"import SearchBar from "react-native-dynamic-search-bar"
<SearchBar
fontColor="#c6c6c6"
iconColor="#c6c6c6"
shadowColor="#282828"
cancelIconColor="#c6c6c6"
backgroundColor="#353d5e"
placeholder="Search here"if #available(iOS 13.0, *) {
let app = UIApplication.shared
let statusBarHeight: CGFloat = app.statusBarFrame.size.height
let statusbarView = UIView()
statusbarView.backgroundColor = UIColor.red
view.addSubview(statusbarView)
statusbarView.translatesAutoresizingMaskIntoConstraints = false
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ndk.dir=/Users/kuray/Library/Android/sdk/ndk-bundle | |
| sdk.dir=/Users/kuray/Library/Android/sdk |
alias status="artii 'Status' | nyan && git status | nyan"
alias add="git add . | artii "Staged" | nyan"
alias glocal="git checkout local | artii 'Local Branch' | nyan"
alias dev="git checkout dev | artii 'Dev Branch' | nyan"
alias master="git checkout master | artii 'Master Branch' | nyan"
alias log="artii 'Logs' | nyan && git log | nyan"
alias branch="artii 'Branches' | nyan && git branch | nyan"
val textWatcher = object : TextWatcher {
override
fun beforeTextChanged(charSequence: CharSequence, i: Int, i1: Int, i2:Int) {
}
override
fun onTextChanged(charSequence: CharSequence, i: Int, i1: Int, i2: Int) {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Command line instructions | |
| Git global setup | |
| git config --global user.name "FreakyCoder" | |
| git config --global user.email "kurayogun@gmail.com" | |
| Create a new repository | |
| git clone git@github.com:WrathChaos/react-native-card-collection.git |
class MyFragment: Fragment() {
private lateinit var myObject: MyObject
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
if (arguments != null) {
myObject = arguments!!.getParcelable(ARG_PARAM)
}
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val deviceID = Settings.Secure.getString(contentResolver, | |
| Settings.Secure.ANDROID_ID) |