SkillAgentSearch skills...

Newly

Newly is a drop in solution to add Twitter/Facebook/Linkedin style, new updates/tweets/posts available button. It can be used to notify user about new content availability and other actions by just calling methods in kotlin or java

Install / Use

/learn @Auto-Droid/Newly
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

newly 2

<a href="https://raw.githubusercontent.com/xmartlabs/Eureka/master/LICENSE"><img src="http://img.shields.io/badge/license-MIT-blue.svg?style=flat" alt="License: MIT" /></a> <a href="http://kotlinlang.org/"><img src="https://img.shields.io/badge/kotlin-compatable-brightgreen.svg?style=flat" alt="kotlin" /></a> <a href="https://www.android.com"><img src="https://img.shields.io/badge/Android-v0.2-brightgreen.svg?style=flat" alt="Android" /></a>

Newly is a drop in solution to add Twitter/Facebook/Linkedin style, new updates/tweets/posts available button. It can be used to notify user about new content availability and other actions by just calling methods in kotlin or java

ezgif com-resize

Requirements

  • Android Studio
  • Java
  • Kotlin
  • Android version 2.3 +

Installation

In your Project's build.gradle file:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

In your Application's or Module's build.gradle file:


	dependencies {
		        compile 'com.github.Auto-Droid:Newly:1.0'
		}

Initialize library using builder pattern.

In your Kotlin class:

class MainActivity : AppCompatActivity() , NewlyOnTouchListener {
  	.....
       
	override fun onNewlyTouchListener() {
		//TODO Newly popup clicked
	}
}


  var newly = Newly.Build(activity as MainActivity)
                    .setText("  ↑ New Tweets  ")
                    .setBackgroundDrawable(R.drawable.rectangle)
                    .setTextColor("#FFFFFF")
                    .setHeightOffset(250)
                    .build();
            newly.show()

In your Java class:

   public class HomeScreen extends AppCompatActivity implements NewlyOnTouchListener {
       .....
       
        @Override
    public void onNewlyTouchListener() {
	//TODO Newly popup clicked
    }
}  

   Newly newly = new Newly.Build(activity)
                .setBackgroundDrawable(R.drawable.rectangle)
                .setText("  ↑ New Tweets  ")
                .setTextColor("#FFFFFF")
                .setHeightOffset(250)
                .build();
        newly.show();

Ios compatible version

@Author <a href="https://github.com/dhirajjadhao">Dhiraj Rajendra Jadhao</a> : https://github.com/dhirajjadhao/Newly

LICENSE

This project is licensed under <a href="https://github.com/Auto-Droid/Newly/blob/master/LICENSE">MIT LICENSE</a> ,see the <a href="https://github.com/Auto-Droid/Newly/blob/master/LICENSE">LICENSE.md</a> file for details

@Contributor <a href="https://github.com/advait-android">Advait Pakhode</a>

Copyright © 2018 Sourabh Karkal (Auto-Droid)

Related Skills

View on GitHub
GitHub Stars25
CategoryContent
Updated2mo ago
Forks4

Languages

Kotlin

Security Score

95/100

Audited on Jan 19, 2026

No findings