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
/** | |
* @param items data which will be displayed by recyclerview | |
* @param context the activity where recyclerview displayed on | |
*/ | |
class Adapter(val items: ArrayList<Object>, val context: Context) : RecyclerView.Adapter<ViewHolder>() { | |
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder { | |
return ViewHolder(LayoutInflater.from(context).inflate(R.layout.recyclerview_item, parent, false)) | |
} | |
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
{"version":1,"resource":"file:///Users/phen0menon/Development/platform-worker-scores-service/worker/settings.py","entries":[{"id":"UuUH.py","timestamp":1693833299024}]} |
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
export interface Action { | |
type: string; | |
} | |
export type CreateReducerReducer<S, A> = (state: S, action: A) => S; | |
export type CreateReducerComponents<S, A> = Record< | |
string, | |
CreateReducerReducer<S, A> | |
>; |