Learn ReactJS & React Native With Me
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Facebook
  • Twitter
  • LinkedIn
  • Email
Learn ReactJS & React Native With Me

Code, Bugs, Pitfalls, Tricks of React Js & React Native

  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact

Browsing Category

React Native Course

101 posts

Get the complete course on React Native.

How to change color of title under refresh loader in React Native?

  • Akash Mittal
  • December 9, 2022
In the previous article we saw how we can add title under refresh loader. In this article we will see how we can change it’s color. Since title can be…
View Post

How to add a title under pull to refresh loader in React Native for iOS app?

  • Akash Mittal
  • December 9, 2022
iOS supports displaying title under pull to refresh loader. This functionality is not available in Android app. To add a title under refresh loader in React Native, we are provided…
View Post

How to change background color of pull to refresh loader in React native?

  • Akash Mittal
  • December 9, 2022
Changing background color of pull to refresh loader in React Native is possible through progressBackgroundColor prop of RefreshControl component. This prop only works for Android app because the loader background…
View Post

How to change the size of pull to refresh loader in React Native?

  • Akash Mittal
  • December 9, 2022
React Native <RefreshControl> component provides size prop which can be used to change the size of loader in pull to refresh. The possible values of this prop are default and…
View Post

How to change refresh loader color in React Native? Code Example

  • Akash Mittal
  • December 9, 2022
Changing Refresh loader color in React Native works differently in both Android and iOS apps. In Android apps, we can show multiple colors in the loader while in iOS, single…
View Post

How to create a pull to refresh loader in React Native? Code Example

  • Akash Mittal
  • December 9, 2022
Pull to refresh loader works in ScrollView and List components like FlatList or SectionList. Although these lists supports pull to refresh inherently but that is not customizable. React Native provides…
View Post

How to display modal with transparent overlay in React Native?

  • Akash Mittal
  • December 9, 2022
React Native provides transparent prop in Modal component to toggle the transparency of modal overlay background. By default modal covers the whole view but setting the transparency will prevent the…
View Post

How to create fade animation in modal in React Native? Code Example

  • Akash Mittal
  • December 9, 2022
To create fade animation in modal in React Native, pass fade as value in animationType prop of <Modal> component. This is similar to slide animation. Code Example The output looks…
View Post

How to create slide from bottom Modal in React native? Code Example

  • Akash Mittal
  • December 9, 2022
“slide from bottom” animation creates the effect of modal appearing from bottom to middle of screen. In React Native, we can create it by setting animationType prop to slide of…
View Post

How to show a basic modal in React native? Code Example

  • Akash Mittal
  • December 9, 2022
React Native provides <Modal> component to show a basic modal for mobile apps. It has visible prop which derives the visibility of modal. You can put the interface as child…
View Post

How to prevent overlapping of keyboard with text input in React Native?

  • Akash Mittal
  • December 9, 2022
Did you ever come across a situation where you have an input field and when pressed, it got overlapped or hid behind keyboard? This is a common issue which is…
View Post

How to set background image in React native? Code Example

  • Akash Mittal
  • December 9, 2022
React Native provides <ImageBackground> component which can be used to render images on the background with children components above it. This component is similar to Image component and supports most…
View Post

How to set a default image in React Native? Code Example

  • Akash Mittal
  • December 9, 2022
A default image is useful when either the desired image is not loading, url address is wrong, image is down, prevented due to hotlinking, network error or any other kind…
View Post

How to show loader while image is downloading in React Native?

  • Akash Mittal
  • December 9, 2022
It is a good practice to show a loader when a big image is downloading. This is because, depending on internet connection, the image might take time and user will…
View Post

How to blur an image in React Native? Code Example

  • Akash Mittal
  • December 9, 2022
React Native Image component provides blurRadius prop which accepts a numerical value. This prop can be used to add blur to the images. 0 value means no blur, while any…
View Post

How to display a GIF or webp image in React Native? Code Example

  • Akash Mittal
  • December 9, 2022
In order to display a Gif or webp image in React Native we need to implement Facebook Fresco image library in our Android gradle file. This is required because gif…
View Post

How to display base64 image in React Native? Code Example

  • Akash Mittal
  • December 9, 2022
In order to display a base64 image in React Native you need to pass the data uri to the source prop of <Image> component. This is quite similar to displaying…
View Post

How to display image from storage in React Native? Code Example

  • Akash Mittal
  • December 9, 2022
To display an image from local storage in React Native, we can use source prop of <Image> component and pass the relative file location. Unlike remote url image, for local…
View Post

How to display image from url in React Native? Code Example

  • Akash Mittal
  • December 9, 2022
To display an image from remote url in React native, we need to pass the url in source prop of <Image> component. The source prop accepts an object with uri…
View Post

How to divide list items in sections with headings in React Native?

  • Akash Mittal
  • December 9, 2022
We often get the requirements to divide a long list into separate sections. These sections could be categories of items like colors, vegetables, fruits, drinks, football players, musicians, marvel superheroes…
View Post

Posts navigation

Previous 1 … 3 4 5 6 Next

Learn ReactJS & React Native With Me
Copyright AkashMittal.com | Privacy Policy