Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wajahatkarim3/today-i-learned

📝 Today I Learned - A list of all things I learn on daily basis.
https://github.com/wajahatkarim3/today-i-learned

android kotlin kotlin-android learning learning-by-doing til today-i-learned

Last synced: 2 days ago
JSON representation

📝 Today I Learned - A list of all things I learn on daily basis.

Awesome Lists containing this project

README

        

# Today I Learned
> Today I Learned

[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://wajahatkarim.com)[![forthebadge](https://forthebadge.com/images/badges/makes-people-smile.svg)](https://wajahatkarim.com)

A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies. These are things that don't really warrant a full blog post.

Read more about why and how I started this at: https://hackernoon.com/today-i-learned-ok-technically-yesterday-65c64e1dcb6

_55 TILs and counting..._

**You can check my TILs list [here](https://wajahatkarim.com/tags/today-i-learned/)**

---
### Kotlin
- [Safely accessing lateinit properties in Kotlin](kotlin/lateinit-safe-access.md)
- [Constants in Kotlin](kotlin/constants-in-kotlin.md)
- [Domain-Specific Language (DSL) using Kotlin](kotlin/dsl-kotlin.md)
- [Sealed Classes in Kotlin](kotlin/sealed-classes.md)
- [Inline Functions in Kotlin](kotlin/inline-funs.md)
- [Variable Number of Arguments in Methods in Kotlin](kotlin/varargs.md)
- [Launching Activities using Kotlin DSL](kotlin/activity-dsl.md)
- [The with() operator in Kotlin](kotlin/with-kotlin.md)
- [Asynchronous Calls in Koltin](kotlin/async-kotlin.md)
- [Operator Overloading in Kotlin](kotlin/op-loading.md)

### Gradle
- [Gradle Dependencies using Auto Complete with Kotlin](kotlin/gradle-autocomplete.md)
- [Gradle Dependencies using Google's Way](gradle/gradle-google-way.md)
- [Defining Constants in Gradle](gradle/gradle-constants.md)
- [Gradle doesn't run because it can't find tools.jar in JRE](gradle/gradle-jre.md)
- [Publishing Your Android Kotlin/Java Library on jCenter](gradle/jcenter-pub.md)
- [Where to get AAR file of any library?](gradle/aar-file.md)
- [Adding Password Protected Maven Repository URL in Gradle](gradle/pass-gradle.md)
- [Generate Navigation Direction Classes in Kotlin with Safe Args Plugin](gradle/dir-classes-kotlin.md)
- [This version of Android Studio cannot open this project, please retry with Android Studio x.x or newer](gradle/android-studio-version-build-fail.md)
- [Forcing any dependency to be looked in any specific repository](gradle/forcing-depenency-for-specific-repository.md)
- [Displaying the Dependency Graph of whole project](gradle/dependency-graph-project.md)
- [Debugging Deep Links of Your Android App](gradle/deep-link-debugging.md)

### Android
- [Difference between Build Type, Flavour, and Build Variant in Android](android/buildtype-vs-flavour-variant.md)
- [Percentage Width/Height using Constraint Layout](android/percent-constraint-layout.md)
- [Go to Code Line from Logcat Output Line](android/logcat-code.md)
- [Closing All Actvities and Launching Any Specific](android/close-all-acts.md)
- [Live Code Templates in Android Studio](android/live-templates.md)
- [Adding Padding in Tabs in Android](android/tabs-padding.md)
- [IntDef and StringDef in Android](android/int-str-def.md)
- [Creating Separate Modules for Debug And Release](android/debug-release-modules.md)
- [RecyclerView Scrolling Issue with NestedScrollView](android/recycler-scrolling.md)
- [Add Logs without Code in Android](android/logs-without-code.md)
- [Auto Sizing Text Views](android/autosize-textview.md)
- [RecyclerView Item Margins and Padding](android/recyclerview-margins.md)
- [Data Binding for Layout](android/include-databinding.md) :clock330:
- [Lots of Errors in Code but Still App Runs in Android Studio](android/errors-app-run.md)
- [Combining Urdu String through Data Binding](android/combine-str-urdu.md)
- [The requireActivity() and requireContext() example](android/req-act.md)
- [Encrypt/Decrypt Strings in Android](android/encryptdec.md)
- [Show/Hide Password in EditText](android/show-hide-pass.md)
- [Converting JSONObject to HashMap<>](android/convert-json-map.md)
- [Multiple Runtime Permissions in Android without any library](android/runtime-perms.md)
- [Customizing the Scroll Duration of ViewPager](android/viewpager-scroll-duration.md)
- [Nested scrollview automatically scrolls to bottom](android/nested-scroll-view-bottom.md)
- [Gone Margins in Constraint Layout](android/gone-margins-constraint.md)
- [Enable/Disable Swipe of ViewPager or Swipeable ViewPager](android/swipeable-viewpager.md)
- [Android Oreo or later versions not loading URLs (cleartext traffic not permitted)](android/OreoUrlsLoading.md)
- [How to Simulate Android Kill Process for Your Debug Apps?](android/android-kill-simulate.md) ![](https://img.shields.io/badge/%F0%9F%93%84%20-NEW-red.svg)
- [ConcatAdapter and GridLayoutManager Span Size](android/concat-adapter-with-spansize.md)
- [Android 12 Deep Links Not Working](android/android-12-deep-links-not-verified.md)
- [Direct Debugging on Android TVs from Android Studio](android/debugging-on-tv.md)

### Jetpack Compose
- [Ripple and Clickable Conflict in Jetpack Compose](compose/ripple-clickable.md)
- [Passing Parcelable and Other Data in Navigation Compose](compose/navigation-data-transfer.md) :new:

### Firebase
- [Firebase Notifications in Background & Foreground](firebase/notifs-background.md)

### Unit and Instrumentation Testing
- [Idling Registry for OkHttp](testing/idling-registry.md)

---
## Inspiration
Inspired by [jbranchaud/til](https://github.com/jbranchaud/til) and first
learned from
[7 Habits I Wish Every (Junior) Programmer Should Have](https://medium.com/@shekhargulati/7-habits-i-wish-every-junior-programmer-should-have-d0d6d8a972c9#.s4lq904g9).

## Contributing

The best way you can contribute is to support the idea of keeping track of things you learned. Just create a public repo and start writing and sharing notes. This is way better than keeping them to yourself.