Category:

Fix toolbar spacing android

In this tip i show you how you can remove spacing from custom toolbar android To remove left and right side space from toolbar try this

Use contentInsetStart to set Continue Reading

Posted On :
Category:

Pass data from activity to fragment in android

In some cases we need to pass data from Activity to its fragment, we also do that by creating constructor but that create some issue when you make final release you need to create final constructor or empty constructor etc. So the best way to that by using bundle in bundle you pass your data by setting data in it and get that inside your fragment onCreateView().

Posted On :