Jamun Elements

Circular Network Image View

CircularNetworkImageView is a another custom android element class which extend volley NetworkImageView and provide circular shape. It also provide you border properties with three custom calls like border, width and overlays. And the most important feature can be able to cache your image just like NetworkImageView do.
Can be accessible with the help of Java class calls and via xml. Can handle vectors easily and can be used in Glide and in Volley Download ImageLoader.

What’s New? (0.0.1)
  • Stable official Version for Rapid Development.
  • Custom UI function to provide circular shapes.
  • Easy Calling mechanism with vector handling features.
  • Can enhance your view using Border feature.

Quality Measures? for (0.0.1)

The following apps are using this library without facing any kind of Bugs.

Why this library?

  • This Elements don’t have any compatibilty and OS version Issues.
  • Elements support both orientation that is portrait and landscape.
  • Its simple and easy to use.
  • Its Customizable with both xml and java code functions calls.

All-in-One Setup

The easiest way to add Elements library to your project is by adding it as a dependency to your build.gradle. To add picker library you just need to append few lines into your build.gradle.
These lines are provided in Integration Part given Below

Gradle Configuration

Add the dependency

Step 1. Add the jCenter repository to your build file. Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
        mavenCentral()
  }
}

Step 2. Add the dependency

dependencies {
        compile 'tk.jamun.elements:elements:0.0.1'
}
Maven Config
<dependency>
  <groupId>tk.jamun.elements</groupId>
  <artifactId>elements</artifactId>
  <version>0.0.1</version>
  <type>aar</type>
</dependency>


CircularNetworkImageView Setup

This element provide you Google volley NetworkImageView in a circular shape, with border color features. Simple ways to add this into your project by adding :

Gradle Setup

Step 1. Add the jCenter repository to your build file. Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
        mavenCentral()
  }
}

Step 2. Add the dependency

dependencies {
        compile 'tk.jamun.elements:circularnetworkimageview:0.0.1'
}
Maven
<dependency>
  <groupId>tk.jamun.elements</groupId>
  <artifactId>circularnetworkimageview</artifactId>
  <version>0.0.1</version>
  <type>aar</type>
</dependency>

How to Implement

Once the project has been added to gradle, You can use these lines of code to configure pickers….

1. Using XML

XML example explain you implementation of CircularNetworkImageView :

// CircularNetworkImageView

<tk.jamun.elements.circularnetworkimageview.CircularNetworkImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        app:srcCompat="vector drawable"
                        android:src="normal drawables"
                       />

Implement Border and there properties :

XML example explain you implementation of CircularNetworkImageView :

                        app:library_border_color="color"
                        app:library_border_width="dimen in dp"
                        app:library_border_overlay="true or false"
                        
2. Using Java Code

JAVA example explain you implementation of  CircularNetworkImageView :

        CircularNetworkImageView circularNetworkImageView = new CircularNetworkImageView(getContext());
        circularNetworkImageView.setBorderColor(); // to set border color
        circularNetworkImageView.setBorderColorResource(); // to set color resource directlu
        circularNetworkImageView.setBorderOverlay(); // set overlay true and false
        circularNetworkImageView.setBorderWidth(); // border width
        circularNetworkImageView.setColorFilter(); // color filter options
        circularNetworkImageView.setImageBitmap(); // Set image as bitmap
        circularNetworkImageView.setImageDrawable();// Set image as Drawable
        circularNetworkImageView.setImageResource();// Set image as Resource
        circularNetworkImageView.setImageURI();// Set image as UrI
        circularNetworkImageView.setScaleType();// Set image ScaleType only centerCrop Note : Adjust Bound Not Available in this. and in Scale Type only centerCrop To understand more how the library works, please take a look at the sample app.

Dependency

  • Android Support Fragment Library v27.1.1
  • Jamun Volley Library Volley
Credits

Desgin & Developed by : Jatin Sahgal
(Linkedin & Website & Blog & GitHub)

More Library under Jamun
  • Pickers
    Pickers Library provide you a set of Pickers like Country, Language, Share and Intent Chooser.
  • Share
    provide you Intent Chooser with great UI/UX. It automatically retrieve the sort list of all the apps which can share the file. This functionality saves much of your task. You can also share dialog Picker for sending Large files. For this you just need to call a single function with file as Argument.
  • Country-Pickers
    allow you to access Country picking functionality with great UI/UX design, and there are numerous of function which help you to modify picker as per your requirements. Library has been provided with four custom UI initiate mode you can decide how the view of picker can be initiate. You can also decide weather picker inherit Single or Multi Selection property. Library consists of updated collection of country name, code and there flags. We are using APIs base structure to avoid increase in the size of apk due to flag Images. This module Maintain the database so that you don’t need to call APIs again and again rather than you can choose when to refresh the Database and fetch new real time data.
  • Language-Pickers
    provides you read-made Language picker which is easy to use and comes with great UI/UX, and there are numerous of function which help you to modify picker as per your requirements. Library has been provided with four custom UI initiate mode you can decide how the view of picker can be initiate. You can also decide weather picker inherit Single or Multi Selection property.
  • Scanner
    is a collection of Beautiful Activity which help others to make there own Custom QR/Barcode Scanner.
  • Calendar
    is a collection of Beautiful Activities which help others to make there Fully Custom Calendar View with Single and Multi Date Picker Functionality
  • UI
    library is a set of UI Views, Custom Component and Collection of Helper Classes which help Developer for making quality Product. Such as Camera, Gallery, Number of Pickers, Calendar, Date Pickers, Dialogs and many more Helper UI and Backend Component.
  • Camera
    library provide you Custom Complete Camera view with full features like Flash, Rotation, Gallery Picker, Focus, Tap to capture, Confirmation window and last but not least cropping feature. It also provide you file path in return so that developer can feel a friendly handy way to Deal After.
  • Gallery
    have some Beautiful UI Components and Multi files Mode for android Developers to give there app a A Rich look With single and Multi picker Functionality.
  • CircularImageView
    Library provide you a custom set of Android Elements that have custom views and properties like CircularImageView Element which provide you both XML and Java Code functions for Circular view with vector compatibility.
  • CircularNetworkImageView
    Library provide you a custom set of Android Elements that have custom views and properties like CircularNetworkImageView Element which provide you both XML and Java Code functions for Circular Volley Network view with vector compatibility.
  • SinglePageBrowser
    Library provide you two type Single Pager In-APP Browser Functionality with Event Handling and Functions to Customize Views. It also provide you Copy to clipboard, Open in Browser and share link feature in-Built.
  • MultiPageBrowser
    Library provide you two type Multi Pager In-APP Browser Functionality with Event Handling and Functions to Customize Views. It also provide you Copy to clipboard, Open in Browser and share link feature in-Built.
  • Volley
    A set of Custom Classes with UI components for network programming, integration and transaction handling in a better and standard way. This will help developers for making quality use of volley library..
License
Copyright (c) 2018 Jatin Sahgal

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About the author

Jatin Sahgal

Jamun is a collection of cool android Libraries, Elements classes and more over Utils who help other developer to build a different quality android product by putting material design themes in there mind.