This file contains hidden or 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 dev.goodwin | |
import android.app.Activity | |
import android.util.Log | |
import com.android.billingclient.api.* | |
import com.android.billingclient.api.BillingClient.BillingResponseCode | |
import com.android.billingclient.api.BillingClient.FeatureType | |
import dev.goodwin.BillingManager.Companion.formatPeriod | |
/** |
This file contains hidden or 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
recyclerView.addOnItemTouchListener( new RecyclerItemTouchListener(getApplicationContext(), recyclerView ,new RecyclerItemTouchListener.OnItemClickListener() { | |
@Override public void onItemClick(View view, int position) { | |
Toast.makeText(getApplicationContext(), "OnItemTouch ", Toast.LENGTH_SHORT).show(); | |
} | |
@Override public void onLongItemClick(View view, int position) { | |
Toast.makeText(getApplicationContext(), "OnItemTouch LONG", Toast.LENGTH_SHORT).show(); | |
} | |
}) | |
); |