-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lateinit var manager: ReviewManager | |
var reviewInfo: ReviewInfo? = null | |
// Call this method asap, for example in onCreate() | |
private fun initReviews() { | |
manager = ReviewManagerFactory.create(this) | |
manager.requestReviewFlow().addOnCompleteListener { request -> | |
if (request.isSuccessful) { | |
reviewInfo = request.result | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ssaurel.fusedlocation; | |
import android.Manifest; | |
import android.content.DialogInterface; | |
import android.content.pm.PackageManager; | |
import android.location.Location; | |
import android.os.Build; | |
import android.os.Bundle; | |
import android.support.annotation.NonNull; | |
import android.support.annotation.Nullable; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by Saurabh(aqua) in 2017. | |
*/ | |
public class ScrollActivity extends BaseActivity { | |
/* view binding */ | |
@BindView(R.id.scrollView)ScrollView scrollView; | |
@BindView(R.id.parallax_image)ImageView parallaxImage; | |
@BindView(R.id.tv_perhour)TextView textView; |