Posts

Showing posts from May, 2022

Flutter bloc + Flutter 3

 Hey friends, last saturday I tried to read out new stuffs in flutter 3 and flutter bloc architecture. So I tried something with this. Using the bloc architecture, I created an one simple api test app. Hope It's interesting and useful, when someone is trying to apply the new changes on bloc architecture. Because there is no mapToEvent in new bloc.  Here is the example . Try out. 

Interesting open source apis

 Hey guys, today I saw this page, It would be very interesting. And those who want to try out the free and open source api's, you can try this out. Myself, I found lot of interesting stuffs in the free api list. Example random fact and vadivelu http error codes are extremely awesome. Here is a link . Try out.

Adding header and footer in recycler view.

 Hey guys, have a happy sunday. Actually sunday finished. So let's celebrate the monday.  It's been very long days to written blog in android. Now It's a time. Because in between my flutter days, android also improved a lot. How to add the header and footer in recyclerview? Use ConcatAdapter to do that. binding.listUser.adapter = ConcatAdapter(UserHeaderAdapter(context, data), UserAdapter(context, data), UserFooterAdapter(context, data))