Skip to content

Instantly share code, notes, and snippets.

View faisalmohd83's full-sized avatar
🏳️
Flutterish!

Faisal faisalmohd83

🏳️
Flutterish!
View GitHub Profile
@faisalmohd83
faisalmohd83 / bg_rounded_border.xml
Last active March 23, 2022 09:52
Rounded double border for ImageView with text
Layered-list shape for double bordered background for Shapeable Imageview
--
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- filler -->
<item>
<shape android:shape="oval">
<size
android:width="100dp"
android:height="100dp" />
@faisalmohd83
faisalmohd83 / readme.txt
Created December 14, 2018 08:41
ADB over Wi-Fi
ADB over WiFi:
1. Connect device via USB and make sure debugging is working, then run:
adb tcpip 5555
adb connect <DEVICE_IP_ADDRESS>:5555
2. Disconnect USB and proceed with wireless debugging.
3. When you're done and want to switch back to USB debugging, run:
adb -s <DEVICE_IP_ADDRESS>:5555
To find the IP address of your device, go to Settings > Wi-Fi > Advanced > IP Address on your device or run adb shell netcfg (oder ifconfig statt netcfg).
# CLI for device(s) list.
adb devices
# Connect over TCP-IP
@faisalmohd83
faisalmohd83 / gist:112a0d3b96d97ce6408961d9033907c2
Created December 14, 2018 08:39
RxJava implementation - scope & detail.
Official : https://github.com/ReactiveX/RxAndroid
Observables/Flowable : https://github.com/balamaci/rxjava-walkthrough#flowable
AsyncTask replacement
https://medium.com/@kurtisnusbaum/rxandroid-basics-part-1-c0d5edcf6850
https://medium.com/@kurtisnusbaum/rxandroid-basics-part-2-6e877af352
Additional docs: