| java.lang.Object | ||
| ↳ | ||
| ↳ | com.pdftron.pdf.adapter.CustomStampColorAdapter | |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
CustomStampColorAdapter(int[] bgColors, int[] strokeColors)
Class constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | getItemCount() | ||||||||||
| int | getSelectedIndex() | ||||||||||
| void | onBindViewHolder(CustomStampColorAdapter.ViewHolder holder, int position) | ||||||||||
| CustomStampColorAdapter.ViewHolder | onCreateViewHolder(ViewGroup parent, int viewType) | ||||||||||
| void |
select(int index)
Select an icon.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Class constructor.
| bgColors | An array of background colors |
|---|---|
| strokeColors | An array of stroke colors. the length of stroke colors should be the same as the length of background colors |
Select an icon.
| index | The index of icon that should be selected |
|---|