til
til copied to clipboard
Today I Learned. Our knowledge hub. List out what we've learned everyday, organized.
The getFromLocation() method provided by the Geocoder class accepts a latitude and longitude and returns a list of addresses. The method is synchronous and may take a long time to...
Bottom Sheet Behavior là 1 thành phần được thiết kế theo phong cách material design, được thêm vào thư viện design support library trong phiên bản 23.2. Bottom sheet là...
Trong 1 view của android không hỗ trợ cho việc set max height , nhưng đôi khi có những trường hợp bạn cần 1 view wrap content và muốn có...
Khi ta cần detect layout change trước đây ta thường dùng ``` myView.getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() { @Override public void onGlobalLayout() { } }); ``` Chúng ta có thể dùng RxView để...
Khi ta implement Bottom sheet, trạng thái mặc định sẽ là full expended, vậy làm sao để có thêm state half expended khi ta swipe lên lần 1 và sẽ...
Bắt đầu từ iOS 13 Apple đưa ra cách implement UICollectionView và UITableView DataSource mới thay cho numberOfItemsInSection và CellForRowAtIndex Cách implement mới khắc phục các yếu điểm của DataSource...
Khi mình cùng Khanh làm dự án Sol, chúng tôi đã đã implement UI dạng backdrop: các bạn có thể xem tại đây để biết dạng UI này: https://material.io/design/components/backdrop.html Cách...
Trong Google IO 2019 đầu năm nay, có 1 chủ đề được thuyết trình đó là Mobile Accessibility: making sure everyone can use what you create. Thành và @phucledien thấy...
 ### Autonomy and trust over control The core principle that binds and drives the Spotify engineering culture is autonomy. Autonomy is all about empowerment and...
When Khanh implement Welcome Back UI on Sol, he needs to load facebook profile image onto ImageView. He has a problem when we use Glide to load this URL, Glide...